Update CraftBukkit to Minecraft 1.4.5.

This commit is contained in:
Travis Watkins
2012-11-16 10:13:34 -06:00
parent 8e806550d7
commit 6952ad1e59
4 changed files with 11 additions and 7 deletions

View File

@@ -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;
}