October 28, 201510 yr In your code, you also expect that your door is going to have the action "Open". Now yes, you search for ID, but have something like this: Entity door = getObjects().closest(door_tile, 6837); if (door != null && door.exists() && door.hasAction("Open")) door.interact("Open"); That is entirely 100% redundant lol But if it floats your boat
Create an account or sign in to comment