summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2012-03-25 04:41:59 -0500
committerWarren Loo <evilseph@gmail.com>2012-03-25 19:52:14 -0400
commitf1a235dcba131ff4120c544578c7e1ab08b86069 (patch)
treeec0a62baee658b983ff29a15b810b3c2f0f45b59 /src/main/java/net
parente66159e21df7faf5aea5571343ce7f50fd9f4ffa (diff)
downloadcraftbukkit-f1a235dcba131ff4120c544578c7e1ab08b86069.tar
craftbukkit-f1a235dcba131ff4120c544578c7e1ab08b86069.tar.gz
craftbukkit-f1a235dcba131ff4120c544578c7e1ab08b86069.tar.lz
craftbukkit-f1a235dcba131ff4120c544578c7e1ab08b86069.tar.xz
craftbukkit-f1a235dcba131ff4120c544578c7e1ab08b86069.zip
[Bleeding] Fixed ocelot dropping leather. Fixes BUKKIT-1333
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/EntityOcelot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityOcelot.java b/src/main/java/net/minecraft/server/EntityOcelot.java
index a035c10a..5f08c1b1 100644
--- a/src/main/java/net/minecraft/server/EntityOcelot.java
+++ b/src/main/java/net/minecraft/server/EntityOcelot.java
@@ -89,7 +89,7 @@ public class EntityOcelot extends EntityTameableAnimal {
}
protected int getLootId() {
- return Item.LEATHER.id;
+ return 0; // CraftBukkit - Item.LEATHER.id -> 0
}
public boolean a(Entity entity) {