Guest User

Untitled

a guest
Jun 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1.     @EventHandler
  2.     public void onPlayerInteractEvent(PlayerInteractEvent event) {
  3.         if(event.hasBlock() && event.hasItem()) {
  4.              if(event.getClickedBlock().getType() == Material.STICK){
Add Comment
Please, Sign In to add comment