Update CraftBukkit to 1.6.1
This commit is contained in:
committed by
Wesley Wolfe
parent
f887b76a25
commit
6c09066e22
@@ -63,11 +63,19 @@ public class EntityPainting extends EntityHanging {
|
||||
return this.art.C;
|
||||
}
|
||||
|
||||
public int g() {
|
||||
public int e() {
|
||||
return this.art.D;
|
||||
}
|
||||
|
||||
public void h() {
|
||||
public void b(Entity entity) {
|
||||
if (entity instanceof EntityHuman) {
|
||||
EntityHuman entityhuman = (EntityHuman) entity;
|
||||
|
||||
if (entityhuman.abilities.canInstantlyBuild) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.a(new ItemStack(Item.PAINTING), 0.0F);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user