Dieser Commit ist enthalten in:
Ursprung
234f476672
Commit
5a991de55a
@ -85,7 +85,7 @@ public class TechHiderCommand extends SWCommand implements Listener, ScoreboardE
|
|||||||
Set<String> hiddenBlocks = Collections.unmodifiableSet(new HashSet<>(config.getStringList("Techhider.HiddenBlocks")));
|
Set<String> hiddenBlocks = Collections.unmodifiableSet(new HashSet<>(config.getStringList("Techhider.HiddenBlocks")));
|
||||||
Set<String> hiddenBlockEntities = Collections.unmodifiableSet(new HashSet<>(config.getStringList("Techhider.HiddenBlockEntities")));
|
Set<String> hiddenBlockEntities = Collections.unmodifiableSet(new HashSet<>(config.getStringList("Techhider.HiddenBlockEntities")));
|
||||||
|
|
||||||
TechHider current = new TechHider((p, cX, cY) -> {
|
TechHider current = new TechHider((TechHider.LocationEvaluator) (p, cX, cY) -> {
|
||||||
if (rg.buildChunkOutside(cX, cY)) return true;
|
if (rg.buildChunkOutside(cX, cY)) return true;
|
||||||
return !hidden.get(rg).contains(p);
|
return !hidden.get(rg).contains(p);
|
||||||
}, Material.valueOf(obfuscateWith.toUpperCase()), hiddenBlocks.stream().map(String::toUpperCase).map(Material::valueOf).collect(Collectors.toSet()), hiddenBlockEntities);
|
}, Material.valueOf(obfuscateWith.toUpperCase()), hiddenBlocks.stream().map(String::toUpperCase).map(Material::valueOf).collect(Collectors.toSet()), hiddenBlockEntities);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren