Instead of removing the shot arrow, cancel the event instead. Fixes kit Shredder being usable during buildtime

This commit is contained in:
libraryaddict 2015-01-10 09:08:35 +13:00
parent 9863b701d8
commit 6343a00b53
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ public class TurfForts extends TeamGame
if (!_fight)
{
UtilPlayer.message(event.getEntity(), F.main("Game", "You cannot attack during Build Time!"));
event.getProjectile().remove();
event.setCancelled(true);
}
}