13
0

Fix TeleporterListener
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-03-26 16:43:12 +01:00
Ursprung ea73d24b8b
Commit 1695d02678

Datei anzeigen

@ -55,13 +55,13 @@ public class TeleporterListener extends BasicListener {
swInventory.setItem(1, new SWItem(Material.MAGMA_CREAM, "§eSpawn").getItemStack(), clickType -> { swInventory.setItem(1, new SWItem(Material.MAGMA_CREAM, "§eSpawn").getItemStack(), clickType -> {
player.teleport(spawn); player.teleport(spawn);
}); });
swInventory.setItem(1, new SWItem(Material.BEACON, "§eTeamhalle").getItemStack(), clickType -> { swInventory.setItem(2, new SWItem(Material.BEACON, "§eTeamhalle").getItemStack(), clickType -> {
player.teleport(team); player.teleport(team);
}); });
swInventory.setItem(1, new SWItem(Material.MAP, "§eMap").getItemStack(), clickType -> { swInventory.setItem(3, new SWItem(Material.MAP, "§eMap").getItemStack(), clickType -> {
player.teleport(map); player.teleport(map);
}); });
swInventory.setItem(1, new SWItem(Material.CLOCK, "§eArenen").getItemStack(), clickType -> { swInventory.setItem(4, new SWItem(Material.CLOCK, "§eArenen").getItemStack(), clickType -> {
player.teleport(arenen); player.teleport(arenen);
}); });
swInventory.open(); swInventory.open();