turt2live

Untitled

Apr 15th, 2012
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1.                 if(blockUp.getType() == Material.TRAP_DOOR){
  2.                     TrapDoor door = (TrapDoor)blockUp.getState();//exception here
  3.                     System.out.print(door.isOpen());
  4.                 }
Advertisement
Add Comment
Please, Sign In to add comment