feat(1.19.3): clean error message
This commit is contained in:
parent
c72760d0b0
commit
fb05305d8d
1 changed files with 1 additions and 2 deletions
|
@ -132,8 +132,7 @@ public class v1_19_R2 implements Internals {
|
||||||
field.setAccessible(true);
|
field.setAccessible(true);
|
||||||
field.set(object, newValue);
|
field.set(object, newValue);
|
||||||
} catch (NoSuchFieldException | IllegalAccessException e) {
|
} catch (NoSuchFieldException | IllegalAccessException e) {
|
||||||
// TODO: 1/22/23 Throw nice error
|
NickoBukkit.getInstance().getLogger().warning("Unable to spoof packet, that's bad! (" + e.getMessage() + ")");
|
||||||
throw new RuntimeException(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue