Remove legacy materials if there were any
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
e01ac8ac58
Commit
7f4834412d
@ -59,6 +59,7 @@ public class SpectatorListener implements Listener {
|
|||||||
materials.add(Material.COMPARATOR);
|
materials.add(Material.COMPARATOR);
|
||||||
materials.add(Material.LEVER);
|
materials.add(Material.LEVER);
|
||||||
for (Material value : Material.values()) {
|
for (Material value : Material.values()) {
|
||||||
|
if (value.isLegacy()) continue;
|
||||||
if (value.name().endsWith("_BUTTON")) {
|
if (value.name().endsWith("_BUTTON")) {
|
||||||
materials.add(value);
|
materials.add(value);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren