Don't check spectators
This commit is contained in:
parent
96bfb729bf
commit
c4a883f5d1
@ -140,7 +140,7 @@ public class CakePlayerModule extends CakeModule
|
||||
|
||||
_game.GetPlayers(true).forEach(player ->
|
||||
{
|
||||
if (UtilInv.contains(player, RUNE_OF_HOLDING.getType(), RUNE_OF_HOLDING.getData().getData(), 1))
|
||||
if (UtilPlayer.isSpectator(player) || UtilInv.contains(player, RUNE_OF_HOLDING.getType(), RUNE_OF_HOLDING.getData().getData(), 1))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user