Fixed lava crystal working even if there is no LP available. Causes a desync on server worlds.
This commit is contained in:
parent
18a36b9778
commit
8ec653b2a7
3 changed files with 13 additions and 4 deletions
|
@ -51,10 +51,12 @@ public class ItemLavaCrystal extends ItemBindable implements IFuelHandler
|
|||
|
||||
if (fuelItem instanceof ItemLavaCrystal)
|
||||
{
|
||||
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
|
||||
{
|
||||
return 200;
|
||||
}
|
||||
System.out.println("Test get burn time: Side = " + FMLCommonHandler.instance().getSide());
|
||||
//
|
||||
// if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
|
||||
// {
|
||||
// return 200;
|
||||
// }
|
||||
|
||||
if (canSyphonFromNetwork(fuel, getLPUsed()))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue