Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onPlayerInteract(PlayerInteractEvent event){
- if(event.getAction() == RIGHT_CLICK_BLOCK) {
- if(event.getClickedBlock().getType() == Material.SIGN) {
- Sign sign = (Sign) block.getState();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment