Fixed lava crystal working even if there is no LP available. Causes a desync on server worlds.

This commit is contained in:
WayofTime 2016-02-15 08:11:18 -05:00
parent 18a36b9778
commit 8ec653b2a7
3 changed files with 13 additions and 4 deletions

View file

@ -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()))
{