Block spectators obtaining TNT

This commit is contained in:
AlexTheCoder 2017-05-08 23:22:48 -04:00
parent 79560fd415
commit 834c537bc8
1 changed files with 4 additions and 0 deletions

View File

@ -1298,6 +1298,10 @@ public class CastleAssault extends TeamGame
{
return;
}
if (UtilPlayer.isSpectator(event.getPlayer()))
{
return;
}
if (_tntSpawner.isSpawned() && event.getItem().getEntityId() == _tntSpawner.getItem().getEntityId())
{