mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-12 02:31:03 +01:00
1f0aafb63e
Setting a set-back location with a null World will now lead to a NullPointerException. Setting null worlds on set-back locations is not intended by contract, however due to using temporary Location instances with Entity.getLocation(Location) and setting the world to null afterwards to prevent memory leaks, also considering the number of places where setSetBack is used, this seems to be an appropriate measure to track better or help excluding violations of that contract. |
||
---|---|---|
.. | ||
src | ||
pom.xml |