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