Reworking mysterious error message
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
684ed70219
Commit
0971c7d58d
@ -59,8 +59,7 @@ public class TechHider_14 {
|
||||
boolean changed = false;
|
||||
for(int i = nmsTags.size() - 1; i >= 0; i--){
|
||||
NbtBase<?> nbtBase = nmsTags.get(i);
|
||||
if(!(nbtBase instanceof NbtCompound))
|
||||
throw new SecurityException("Hä?" + nbtBase.getClass().getName());
|
||||
assert nbtBase instanceof NbtCompound;
|
||||
NbtCompound nbt = (NbtCompound) nbtBase;
|
||||
if(Config.HiddenBlockEntities.contains(nbt.getString("id"))){
|
||||
nmsTags.remove(i);
|
||||
|
@ -59,8 +59,7 @@ public class TechHider_15 {
|
||||
boolean changed = false;
|
||||
for(int i = nmsTags.size() - 1; i >= 0; i--){
|
||||
NbtBase<?> nbtBase = nmsTags.get(i);
|
||||
if(!(nbtBase instanceof NbtCompound))
|
||||
throw new SecurityException("Hä?" + nbtBase.getClass().getName());
|
||||
assert nbtBase instanceof NbtCompound;
|
||||
NbtCompound nbt = (NbtCompound) nbtBase;
|
||||
if(Config.HiddenBlockEntities.contains(nbt.getString("id"))){
|
||||
nmsTags.remove(i);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren