SteamWar/BauSystem
Archiviert
13
0

Fix TNTSimulator name

Dieser Commit ist enthalten in:
jojo 2021-01-20 21:04:47 +01:00
Ursprung 99ed270424
Commit 8ccb282e17

Datei anzeigen

@ -68,7 +68,7 @@ public class TNTSimulator {
lore.add("§eX§8: §7" + tntSpawn.getPosition().getX());
lore.add("§eY§8: §7" + tntSpawn.getPosition().getY());
lore.add("§eZ§8: §7" + tntSpawn.getPosition().getZ());
swListEntryList.add(new SWListInv.SWListEntry<>(new SWItem(Material.TNT, "§eTNT", lore, false, null), tntSpawn));
swListEntryList.add(new SWListInv.SWListEntry<>(new SWItem(Material.TNT, "§eTNT" + (!tntSpawn.getName().isEmpty() ? " §8- §e" + tntSpawn.getName() : ""), lore, false, null), tntSpawn));
});
swListEntryList.sort(Comparator.comparing(SWListInv.SWListEntry::getObject));