diff --git a/Creative Mode/Creative Mode/CreativeMode.cs b/Creative Mode/Creative Mode/CreativeMode.cs index 2d3be6c..d490971 100644 --- a/Creative Mode/Creative Mode/CreativeMode.cs +++ b/Creative Mode/Creative Mode/CreativeMode.cs @@ -193,6 +193,9 @@ public void EndlessCommand(CommandArgs args) public void GetData(GetDataEventArgs e) { + if (e.Msg.whoAmI > Main.maxNetPlayers) + return; + if (playerList[e.Msg.whoAmI]) { if (plr.Group.HasPermission("creativemode.*") || plr.Group.HasPermission("creativemode.tiles"))