mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update CraftBukkit to Minecraft 1.7.2
This commit is contained in:
1 parent
ff8b70fbb7
commit
2726696652
349 files changed
+14339
-11287
No files matched your search
@@ -15,7 +15,7 @@ public abstract class EntityAgeable extends EntityCreature {
|
||||
public boolean a(EntityHuman entityhuman) {
|
||||
ItemStack itemstack = entityhuman.inventory.getItemInHand();
|
||||
|
||||
if (itemstack != null && itemstack.id == Item.MONSTER_EGG.id) {
|
||||
if (itemstack != null && itemstack.getItem() == Items.MONSTER_EGG) {
|
||||
if (!this.world.isStatic) {
|
||||
Class oclass = EntityTypes.a(itemstack.getData());
|
||||
|
||||
@@ -46,8 +46,8 @@ public abstract class EntityAgeable extends EntityCreature {
|
||||
}
|
||||
}
|
||||
|
||||
protected void a() {
|
||||
super.a();
|
||||
protected void c() {
|
||||
super.c();
|
||||
this.datawatcher.a(12, new Integer(0));
|
||||
}
|
||||
|
||||
@@ -83,8 +83,8 @@ public abstract class EntityAgeable extends EntityCreature {
|
||||
this.ageLocked = nbttagcompound.getBoolean("AgeLocked"); // CraftBukkit
|
||||
}
|
||||
|
||||
public void c() {
|
||||
super.c();
|
||||
public void e() {
|
||||
super.e();
|
||||
if (this.world.isStatic || this.ageLocked) { // CraftBukkit
|
||||
this.a(this.isBaby());
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user