13
0

Fix TeleporterListener
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-03-26 16:50:10 +01:00
Ursprung f7ce9950c7
Commit b044469153

Datei anzeigen

@ -54,13 +54,13 @@ public class TeleporterListener extends BasicListener {
teleport(bau, player); teleport(bau, player);
}); });
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); teleport(spawn, player);
}); });
swInventory.setItem(2, new SWItem(Material.BEACON, "§eTeamhalle").getItemStack(), clickType -> { swInventory.setItem(2, new SWItem(Material.BEACON, "§eTeamhalle").getItemStack(), clickType -> {
player.teleport(team); teleport(team, player);
}); });
swInventory.setItem(3, new SWItem(Material.MAP, "§eMap").getItemStack(), clickType -> { swInventory.setItem(3, new SWItem(Material.MAP, "§eMap").getItemStack(), clickType -> {
player.teleport(map); teleport(map, player);
}); });
swInventory.setItem(4, new SWItem(Material.CLOCK, "§eArenen").getItemStack(), clickType -> { swInventory.setItem(4, new SWItem(Material.CLOCK, "§eArenen").getItemStack(), clickType -> {
teleport(arenen, player); teleport(arenen, player);