Switch from deprecated getTile() to tile()

This commit is contained in:
Chicken Bones committed 2013-09-29 11:35:44 +10:00
1 parent deda9e0d1c
commit ebaafb1f97
3 files changed
+4 -4

No files matched your search

@@ -142,7 +142,7 @@ public class ButtonPart extends McSidedMetaPart implements IFaceRedstonePart
private void updateState()
{
boolean arrows = sensitive() && !world().getEntitiesWithinAABB(EntityArrow.class,
getBounds().add(Vector3.fromTileEntity(getTile())).toAABB()).isEmpty();
getBounds().add(Vector3.fromTileEntity(tile())).toAABB()).isEmpty();
boolean pressed = pressed();
if(arrows != pressed)