mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
Fix ports not connecting and being able to reignite a hot reactor without the proper procedure.
This commit is contained in:
1 parent
090bd9b9c3
commit
c706d2ebb1
2 files changed
+7
-2
No files matched your search
@@ -110,7 +110,12 @@ public class FusionReactor implements IFusionReactor
|
||||
if(burning)
|
||||
{
|
||||
injectFuel();
|
||||
neutronFlux(burnFuel());
|
||||
int fuelBurned = burnFuel();
|
||||
neutronFlux(fuelBurned);
|
||||
if(fuelBurned == 0)
|
||||
{
|
||||
burning = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -39,7 +39,7 @@ public class TileEntityReactorPort extends TileEntityReactorBlock implements IFl
|
||||
{
|
||||
if(changed)
|
||||
{
|
||||
worldObj.notifyBlocksOfNeighborChange(xCoord, yCoord, zCoord, getBlockType());
|
||||
worldObj.func_147453_f(xCoord, yCoord, zCoord, getBlockType());
|
||||
}
|
||||
|
||||
super.onUpdate();
|
||||
|
||||
Reference in new issue
Block a user