Update for Minecraft 1.8

This commit is contained in:
Dinnerbone
2011-09-15 01:23:52 +01:00
parent 54bcd1c1f3
commit 5b2c774edc
107 changed files with 4415 additions and 3504 deletions

View File

@@ -12,10 +12,10 @@ public class ItemFishingRod extends Item {
public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) {
if (entityhuman.hookedFish != null) {
int i = entityhuman.hookedFish.h();
int i = entityhuman.hookedFish.i();
itemstack.damage(i, entityhuman);
entityhuman.w();
entityhuman.v();
} else {
// CraftBukkit start
PlayerFishEvent playerFishEvent = new PlayerFishEvent((org.bukkit.entity.Player) entityhuman.getBukkitEntity(), null,PlayerFishEvent.State.FISHING);
@@ -30,7 +30,7 @@ public class ItemFishingRod extends Item {
world.addEntity(new EntityFish(world, entityhuman));
}
entityhuman.w();
entityhuman.v();
}
return itemstack;