mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 07:17:27 +00:00
Tile Entity Get and Save
This commit is contained in:
1 parent
55d271abad
commit
902fad4e6f
8 files changed
+51
-50
No files matched your search
@@ -365,10 +365,7 @@ public class PacketHandlerServer{
|
||||
}
|
||||
|
||||
private void blockPackets(EnumPacketServer type, ByteBuf buffer, EntityPlayerMP player) throws IOException {
|
||||
if (type == EnumPacketServer.SaveTileEntity) {
|
||||
NoppesUtilServer.saveTileEntity(player, ByteBufUtils.readNBT(buffer));
|
||||
}
|
||||
else if(type == EnumPacketServer.DialogCategoriesGet){
|
||||
if(type == EnumPacketServer.DialogCategoriesGet){
|
||||
ScrollDataPacket.sendScrollData(player, DialogController.Instance.getScroll());
|
||||
}
|
||||
else if(type == EnumPacketServer.DialogsGetFromDialog){
|
||||
|
||||
Reference in new issue
Block a user