OSDN Git Service

修正・変更
[chemicraft/chemicraft.git] / common / pcc / chemicraft / core / system / PacketHandler.java
index 3485915..2eb7796 100644 (file)
@@ -33,7 +33,7 @@ public class PacketHandler implements IPacketHandler {
 
        @Override
        public void onPacketData(INetworkManager manager, Packet250CustomPayload packet, Player player) {
-               if (packet.channel.equals("chemicraft")) {
+               if (packet.channel.equals("chemicraftcore")) {
                        ByteArrayDataInput badi = ByteStreams.newDataInput(packet.data);
 
                        World worldClient;
@@ -94,7 +94,7 @@ public class PacketHandler implements IPacketHandler {
 
                // パケットの作成
                Packet250CustomPayload packet = new Packet250CustomPayload();
-               packet.channel = "chemicraft";
+               packet.channel = "chemicraftcore";
                packet.data = var1.toByteArray();
                packet.length = var1.size();
                packet.isChunkDataPacket = true;
@@ -125,7 +125,7 @@ public class PacketHandler implements IPacketHandler {
 
                // パケットの作成
                Packet250CustomPayload packet = new Packet250CustomPayload();
-               packet.channel = "chemicraft";
+               packet.channel = "chemicraftcore";
                packet.data = var1.toByteArray();
                packet.length = var1.size();
                packet.isChunkDataPacket = true;
@@ -156,7 +156,7 @@ public class PacketHandler implements IPacketHandler {
 
                // パケットの作成
                Packet250CustomPayload packet = new Packet250CustomPayload();
-               packet.channel = "chemicraft";
+               packet.channel = "chemicraftcore";
                packet.data = var1.toByteArray();
                packet.length = var1.size();
                packet.isChunkDataPacket = true;
@@ -187,7 +187,7 @@ public class PacketHandler implements IPacketHandler {
 
                // パケットの作成
                Packet250CustomPayload packet = new Packet250CustomPayload();
-               packet.channel = "chemicraft";
+               packet.channel = "chemicraftcore";
                packet.data = var1.toByteArray();
                packet.length = var1.size();
                packet.isChunkDataPacket = true;
@@ -220,7 +220,7 @@ public class PacketHandler implements IPacketHandler {
 
                // パケットの作成
                Packet250CustomPayload packet = new Packet250CustomPayload();
-               packet.channel = "chemicraft";
+               packet.channel = "chemicraftcore";
                packet.data = var1.toByteArray();
                packet.length = var1.size();
                packet.isChunkDataPacket = true;