mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-14 01:14:19 +00:00
Switch from deprecated getTile() to tile()
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user