quick npe fix
This commit is contained in:
parent
1042edb134
commit
e71a2d2e48
@ -52,9 +52,9 @@ public class Cannon implements Listener
|
|||||||
|
|
||||||
public void cleanup()
|
public void cleanup()
|
||||||
{
|
{
|
||||||
_armorStand.remove();
|
if (_armorStand != null) _armorStand.remove();
|
||||||
_filler.remove();
|
if (_filler != null) _filler.remove();
|
||||||
_filler2.remove();
|
if (_filler2 != null) _filler2.remove();
|
||||||
HandlerList.unregisterAll(this);
|
HandlerList.unregisterAll(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user