Reorganized fix for the Lava Crystal
This commit is contained in:
parent
fbaf5de9ab
commit
f4abee84ef
2 changed files with 15 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue