fixing Kit NPEs

This commit is contained in:
Sarah 2015-12-21 17:48:17 +01:00
parent ff5761cc1d
commit 082b5e156c

View File

@ -66,6 +66,9 @@ public abstract class KitTypeWarsBase extends Kit
if(!Manager.GetGame().IsLive())
return;
if(!Manager.GetGame().IsPlaying(event.getPlayer()))
return;
if(event.getAction() == Action.LEFT_CLICK_AIR || event.getAction() == Action.LEFT_CLICK_BLOCK)
return;