mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-25 14:34:37 +00:00
Lessssss
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user