Fixed #10604
This commit is contained in:
@@ -467,8 +467,8 @@ public class World{
|
||||
for(var build : Groups.build){
|
||||
//if the map area contracts, disable the block
|
||||
build.checkAllowUpdate();
|
||||
//reset map-area-based disabled blocks that were in the previous map area
|
||||
if(!build.enabled && build.block.autoResetEnabled && Rect.contains(x, y, w, h, build.tile.x, build.tile.y)){
|
||||
//reset map-area-based disabled blocks that were not in the previous map area
|
||||
if(!build.enabled && build.block.autoResetEnabled && !Rect.contains(x, y, w, h, build.tile.x, build.tile.y)){
|
||||
build.enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -643,7 +643,7 @@ public class CoreBlock extends StorageBlock{
|
||||
|
||||
@Override
|
||||
public int getMaximumAccepted(Item item){
|
||||
return state.rules.coreIncinerates ? storageCapacity * 20 : storageCapacity;
|
||||
return state.rules.coreIncinerates ? Integer.MAX_VALUE/2 : storageCapacity;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user