Update CraftBukkit to Minecraft 1.4.5.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user