Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. @EventHandler
  2. public void signInteract(PlayerInteractEvent e) {
  3. if(e.getAction() == Action.RIGHT_CLICK_BLOCK) {
  4. if(block.getType() == Material.SIGN || block.getType() == Material.SIGN_POST || block.getType() == Material.WALL_SIGN) {
  5. Sign sign = (Sign) e.getClickedBlock().getState();
  6. if(sign.getLine(0).contains(GunGame)) {
  7.  
  8.  
  9.  
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement