Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @SubscribeEvent
- public static void onItemDestroy(PlayerDestroyItemEvent event) {
- event.getPlayer().setItemInHand(event.getHand(),new ItemStack(Items.NAME_TAG));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement