This commit is contained in:
ProfMobius committed 2014-05-10 18:54:43 +02:00
1 parent 7986b49ef5
commit 20a8047f02
47 files changed
+146 -135

No files matched your search

@@ -1,6 +1,5 @@
package mcp.mobius.opis.commands.client;
import cpw.mods.fml.common.network.Player;
import mcp.mobius.opis.network.OpisPacketHandler_OLD;
import mcp.mobius.opis.network.enums.Message;
import mcp.mobius.opis.network.packets.server.NetDataCommand_OLD;
@@ -22,8 +21,8 @@ public class CommandClientStart extends CommandBase {
@Override
public void processCommand(ICommandSender icommandsender, String[] astring) {
if (icommandsender instanceof Player)
OpisPacketHandler_OLD.validateAndSend(NetDataCommand_OLD.create(Message.CLIENT_START_PROFILING), (Player)icommandsender);
if (icommandsender instanceof EntityPlayerMP)
OpisPacketHandler_OLD.validateAndSend(NetDataCommand_OLD.create(Message.CLIENT_START_PROFILING), (EntityPlayerMP)icommandsender);
//((EntityPlayerMP)icommandsender).playerNetServerHandler.sendPacketToPlayer(NetDataCommand.create(Message.CLIENT_START_PROFILING));
}