fixed npe on cleanup() because it doesn't check if the holograms are null or not. (they may or may not be null at the time of cleanup() being called depending on the current state of the outpost)
This commit is contained in:
parent
d4fdda8ef2
commit
90a06d97b5
@ -108,8 +108,8 @@ public class Outpost implements Listener
|
||||
{
|
||||
_blocks = null;
|
||||
|
||||
_preHologram.stop();
|
||||
_preHologram2.stop();
|
||||
if (_preHologram != null) _preHologram.stop();
|
||||
if (_preHologram2 != null) _preHologram2.stop();
|
||||
|
||||
_preHologram = null;
|
||||
_preHologram = null;
|
||||
|
Loading…
Reference in New Issue
Block a user