mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
Initial fixes, still a long ways to go
This commit is contained in:
1 parent
35d495260a
commit
8dcffe3d5c
195 files changed
+930
-5179
No files matched your search
@@ -5,8 +5,7 @@ import java.util.List;
|
||||
import mods.tinker.tconstruct.entity.projectile.LaunchedPotion;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.item.EnumAction;
|
||||
@@ -124,7 +123,7 @@ public class PotionLauncher extends Item
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onEntitySwing (EntityLiving player, ItemStack stack)
|
||||
public boolean onEntitySwing (EntityLivingBase player, ItemStack stack)
|
||||
{
|
||||
NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool");
|
||||
if (tags.getBoolean("Loaded"))
|
||||
@@ -148,7 +147,7 @@ public class PotionLauncher extends Item
|
||||
return false;
|
||||
}
|
||||
|
||||
ItemStack findPotion (EntityLiving living)
|
||||
ItemStack findPotion (EntityLivingBase living)
|
||||
{
|
||||
if (living instanceof EntityPlayer)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user