Closed Legoman99573 closed 4 years ago
Hmm. So, some server admins have it setup so players can only /wild
in a particular world, hence why this permission isn't given by default. I do agree that /wildtp
should be given by default to ops though (and maybe /wild
as well).
Neither should be causing an NPE though...?
When OP, NullPointerException doesnt occur, but when a non-op fires it, it would show up for some reason in game showing as "An internal error has occured". Adding default to both commands wound up resolving the issue for me after re-compiling the code.
Um, the "default" value is false by default.
Can you please paste the stacktrace with this NPE?
https://paste.md-5.net/wezimehupi.cs probably will be more helpful than the temp workaround i found.
https://paste.md-5.net/wezimehupi.cs probably will be more helpful than the temp workaround i found.
Wrong project. The plugin you're using is the following one. https://github.com/Qballl/WildernessTp
oops, im dum
Yea, this one's better, his has copied code from here.
Resolves NullPointerException fired when people who are not OP fire /wild