Updated-NoCheatPlus / NoCheatPlus

Anti-cheating plugin for Minecraft (1.5-1.20, Bukkit/Spigot)
https://ci.codemc.io/job/Updated-NoCheatPlus/job/Updated-NoCheatPlus/
GNU General Public License v3.0
482 stars 100 forks source link

NPE: cannot invoke "fr.neatmonster.nocheatplus.utilities.map.BlockCache.getOrCreateBlockCacheNode(int, int, int, boolean)" because "this.blockCache" is null #142

Closed Lysandr0 closed 3 years ago

Lysandr0 commented 3 years ago

Full output of /ncp version

(Check log)

Describe the issue

Don't know how to reproduce it unfortunately. It randomly appeared in console.

Extra links/Videos (Including debug logs)

https://pastebin.com/3gT5RSJF

Any possible config options changed or plugins that may cause interference?

Default config.

xaw3ep commented 3 years ago

Might want to be careful with shouldCheckSurvivalFly call without to location set: https://github.com/Updated-NoCheatPlus/NoCheatPlus/blob/master/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java#L2314

https://github.com/Updated-NoCheatPlus/NoCheatPlus/blob/master/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/fight/Critical.java#L127

Lysandr0 commented 3 years ago

Yeah, sorry for the inconvenience, totally overlooked it.