h31ix

Untitled

Mar 1st, 2013
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. @EventHandler
  2. public void onPlayerInteract(PlayerInteractEvent event){
  3. if(event.getAction() == RIGHT_CLICK_BLOCK) {
  4. if(event.getClickedBlock().getType() == Material.SIGN) {
  5. Sign sign = (Sign) block.getState();
  6. }
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment