Nature's Aura

Nature's Aura

31M Downloads

NPE on ClientEvents#onOverlayRender

DiegoRutolo opened this issue ยท 1 comments

commented

var width = Mth.ceil(container.getStoredAura() / (float) container.getMaxAura() * 80);

Sometimes, container can be null, crashing the client. I wasn't able to reproduce it at will, but a simple null check should do the trick.

commented

Hmm, yea that should probably have the null check just to be sure, but also: the aura cache shouldn't be able to be without that capability, so something else must be going wrong as well there. If you manage to reproduce this issue, please let me know!