Update from Git Manager GUI

This commit is contained in:
2026-02-05 22:44:21 +01:00
parent 42cd51aa35
commit 1bea420d24
31 changed files with 983 additions and 293 deletions

View File

@@ -33,6 +33,12 @@ public class GivePortalToolCommand implements CommandExecutor {
// Erstelle das Item
ItemStack wand = new ItemStack(Material.BLAZE_ROD);
ItemMeta meta = wand.getItemMeta();
if (meta == null) {
p.getInventory().addItem(wand);
p.sendMessage(plugin.getName() + " §aDu hast das Portal-Werkzeug erhalten!");
p.playSound(p.getLocation(), org.bukkit.Sound.ENTITY_ITEM_PICKUP, 1.0f, 1.0f);
return true;
}
// Design des Items
meta.setDisplayName("§cPortal-Werkzeug");