SteamWar/BauSystem2.0
Archiviert
12
0

Fix XrayCommand also xray end_stone_bricks
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-09-13 20:53:07 +02:00
Ursprung 71e51654ce
Commit 89f1971106

Datei anzeigen

@ -88,6 +88,7 @@ public class XrayCommand extends SWCommand implements Listener {
String obfuscateWith = config.getString("Techhider.ObfuscateWith", "end_stone");
Set<Material> blocks = new HashSet<>(Arrays.asList(Material.getMaterial(obfuscateWith.toUpperCase())));
if (obfuscateWith.equals("end_stone")) blocks.add(Material.END_STONE_BRICKS);
xrayedBlocks.put(region, blocks);
return Optional.of(createXray(rg, blocks));
});