mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-26 07:02:56 +00:00
1.7.10
This commit is contained in:
1 parent
bdb0c8f174
commit
93b1e5dbf0
4 files changed
+5
-7
No files matched your search
@@ -538,7 +538,7 @@ public final class PacketCustom implements MCDataInput, MCDataOutput
|
||||
|
||||
public static void sendToOps(Packet packet) {
|
||||
for (EntityPlayerMP player : (List<EntityPlayerMP>) MinecraftServer.getServer().getConfigurationManager().playerEntityList)
|
||||
if (MinecraftServer.getServer().getConfigurationManager().isPlayerOpped(player.getCommandSenderName()))
|
||||
if (MinecraftServer.getServer().getConfigurationManager().func_152596_g(player.getGameProfile()))
|
||||
sendToPlayer(packet, player);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user