mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 12:32:13 +00:00
Fixed reactors shutting off when unloaded
This commit is contained in:
1 parent
650b725567
commit
e53c00d2b8
4 files changed
+13
-13
No files matched your search
@@ -354,7 +354,7 @@ public class FusionReactor implements IFusionReactor
|
||||
}
|
||||
|
||||
@Override
|
||||
public void formMultiblock()
|
||||
public void formMultiblock(boolean keepBurning)
|
||||
{
|
||||
updatedThisTick = true;
|
||||
|
||||
@@ -367,19 +367,19 @@ public class FusionReactor implements IFusionReactor
|
||||
|
||||
if(!createFrame(centreOfReactor))
|
||||
{
|
||||
unformMultiblock(false);
|
||||
unformMultiblock(keepBurning);
|
||||
return;
|
||||
}
|
||||
|
||||
if(!addSides(centreOfReactor))
|
||||
{
|
||||
unformMultiblock(false);
|
||||
unformMultiblock(keepBurning);
|
||||
return;
|
||||
}
|
||||
|
||||
if(!centreIsClear(centreOfReactor))
|
||||
{
|
||||
unformMultiblock(false);
|
||||
unformMultiblock(keepBurning);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user