Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onPlayerJoin(PlayerJoinEvent e) {
- ItemStack compass = new ItemStack(Material.COMPASS, 1);
- ItemMeta compass = compass.getItemMeta();
- compass.setDisplayName("§a§lWarps");
- compass.setItemMeta(compass);
- e.getPlayer().getInventory().addItem(compass);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement