Revert "Send Form ID"

This reverts commit 57f36aa47d.
This commit is contained in:
Kam committed 2024-04-18 19:18:24 -04:00
1 parent 57f36aa47d
commit edcc752dbe
3 files changed
+1 -8

No files matched your search

@@ -51,7 +51,4 @@ public class DBCAddon {
public void formPacketSave(EntityPlayer player, ByteBuf buffer){}
public void formPacketSet(EntityPlayer player, ByteBuf buffer){}
public void formPacketPlayers(EntityPlayer player){}
// DBC DATA
public void receiveDBCData(EntityPlayer player, ByteBuf buffer){}
}
@@ -4,7 +4,6 @@ import cpw.mods.fml.common.ObfuscationReflectionHelper;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ClientCustomPacketEvent;
import io.netty.buffer.ByteBuf;
import kamkeel.addon.DBCAddon;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.achievement.GuiAchievement;
@@ -452,8 +451,5 @@ public class PacketHandlerClient extends PacketHandlerServer{
else if(type == EnumPacketClient.DBC_FORM){
NoppesUtil.handleFormEnd();
}
else if(type == EnumPacketClient.DBC_DATA){
DBCAddon.instance.receiveDBCData(player, buffer);
}
}
}
@@ -56,7 +56,7 @@ public enum EnumPacketClient {
SYNC_WEAPON,
MARK_DATA,
SYNC_ADD, SYNC_END, SYNC_UPDATE, SYNC_REMOVE, SYNC_PLAYER,
DBC_FORM, DBC_DATA,
DBC_FORM,
LARGE_NBT_PART, LARGE_NBT_END,
PARTY_DATA
}