Update CraftBukkit to Minecraft 1.4.5.

This commit is contained in:
Travis Watkins committed 2012-11-16 10:13:34 -06:00
1 parent 8e806550d7
commit 6952ad1e59
4 files changed
+11 -7

No files matched your search

@@ -287,9 +287,13 @@ public class EntityWolf extends EntityTameableAnimal {
public EntityWolf b(EntityAgeable entityageable) {
EntityWolf entitywolf = new EntityWolf(this.world);
String s = this.getOwnerName();
if (s != null && s.trim().length() > 0) {
entitywolf.setOwnerName(s);
entitywolf.setTamed(true);
}
entitywolf.setOwnerName(this.getOwnerName());
entitywolf.setTamed(true);
return entitywolf;
}