mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update CraftBukkit to Minecraft 1.4.5.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user