Reorganized fix for the Lava Crystal

This commit is contained in:
WayofTime 2016-01-05 10:41:23 -05:00
parent fbaf5de9ab
commit f4abee84ef
2 changed files with 15 additions and 16 deletions

View file

@ -1,12 +1,15 @@
package WayofTime.bloodmagic.item;
import com.google.common.base.Strings;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.IFuelHandler;
import net.minecraftforge.fml.relauncher.Side;
import WayofTime.bloodmagic.api.Constants;
import WayofTime.bloodmagic.api.util.helper.PlayerHelper;
@ -47,7 +50,11 @@ public class ItemLavaCrystal extends ItemBindable implements IFuelHandler
if (fuelItem instanceof ItemLavaCrystal)
{
// if(true)
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
{
return 200;
}
if (canSyphonFromNetwork(fuel, getLPUsed()))
{
return 200;