Block spectators obtaining TNT
This commit is contained in:
parent
79560fd415
commit
834c537bc8
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user