v2.2.1: fixed light vfx occasionally lingering from wisp sprites
This commit is contained in:
+2
-2
@@ -111,8 +111,8 @@ public abstract class CrystalWispSprite extends MobSprite {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void destroy() {
|
public void kill() {
|
||||||
super.destroy();
|
super.kill();
|
||||||
if (light != null){
|
if (light != null){
|
||||||
light.killAndErase();
|
light.killAndErase();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user