Fix XrayCommand also xray end_stone_bricks
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
71e51654ce
Commit
89f1971106
@ -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));
|
||||
});
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren