try to fix reactor unburned after chunkloading

This commit is contained in:
Xmsoft 2020-07-30 15:55:47 +08:00
parent 5781717e9e
commit 438ceb7145
2 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ public abstract class TileEntityReactorBlock extends TileEntityElectricBlock imp
{ {
if(getReactor() != null) if(getReactor() != null)
{ {
getReactor().formMultiblock(false); getReactor().formMultiblock(true);
} }
else { else {
updateController(); updateController();
@ -124,7 +124,7 @@ public abstract class TileEntityReactorBlock extends TileEntityElectricBlock imp
if(found != null && (found.getReactor() == null || !found.getReactor().isFormed())) if(found != null && (found.getReactor() == null || !found.getReactor().isFormed()))
{ {
found.formMultiblock(false); found.formMultiblock(true);
} }
} }
} }

View file

@ -146,7 +146,7 @@ public class TileEntityReactorController extends TileEntityReactorBlock implemen
{ {
super.onAdded(); super.onAdded();
formMultiblock(false); formMultiblock(true);
} }
@Override @Override