OSDN Git Service

英語の間違い全部修正
[chemicraft/chemicraft.git] / common / chemicraft / PacketHandler.java
index a3a072f..d5d530a 100644 (file)
@@ -33,7 +33,7 @@ public class PacketHandler implements IPacketHandler {
                        World worldClient;\r
                        World worldServer;\r
                        TileEntity tileEntity;\r
-                       TileEntityScienceCraftingTable var2;\r
+                       TileEntityChemicalCraftingTable var2;\r
 \r
                        // TileEntityのx, y, z座標\r
                        int x, y, z;\r
@@ -47,16 +47,16 @@ public class PacketHandler implements IPacketHandler {
                        worldServer = ((EntityPlayer)player).worldObj;\r
                        if(worldClient != null){\r
                                tileEntity = worldClient.getBlockTileEntity(x, y, z);\r
-                               if (tileEntity instanceof TileEntityScienceCraftingTable) {\r
-                                       var2 = (TileEntityScienceCraftingTable) tileEntity;\r
+                               if (tileEntity instanceof TileEntityChemicalCraftingTable) {\r
+                                       var2 = (TileEntityChemicalCraftingTable) tileEntity;\r
                                        var2.readPacket(var1);\r
                                }\r
                                return;\r
                        }\r
                        if(worldServer != null){\r
                                tileEntity = worldServer.getBlockTileEntity(x, y, z);\r
-                               if (tileEntity instanceof TileEntityScienceCraftingTable) {\r
-                                       var2 = (TileEntityScienceCraftingTable) tileEntity;\r
+                               if (tileEntity instanceof TileEntityChemicalCraftingTable) {\r
+                                       var2 = (TileEntityChemicalCraftingTable) tileEntity;\r
                                        var2.readPacket(var1);\r
                                }\r
                                return;\r
@@ -65,7 +65,7 @@ public class PacketHandler implements IPacketHandler {
        }\r
 \r
 \r
-       public static Packet getPacket(TileEntityScienceCraftingTable tileEntity) {\r
+       public static Packet getPacket(TileEntityChemicalCraftingTable tileEntity) {\r
                ByteArrayOutputStream var1 = new ByteArrayOutputStream(128);\r
                DataOutputStream var2 = new DataOutputStream(var1);\r
 \r