Advertisement
GeradesoLukas

Untitled

Sep 27th, 2022
1,236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1. @SubscribeEvent
  2.     public static void onItemDestroy(PlayerDestroyItemEvent event) {
  3.         event.getPlayer().setItemInHand(event.getHand(),new ItemStack(Items.NAME_TAG));
  4.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement