From f10f5845fd771b1229b38743235df4315c30606e Mon Sep 17 00:00:00 2001 From: Mohamed Ashraf Date: Mon, 2 Mar 2026 20:49:57 +0400 Subject: [PATCH] more fixes --- Minecraft.World/AnimatePacket.cpp | 4 ++-- Minecraft.World/BlockRegionUpdatePacket.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Minecraft.World/AnimatePacket.cpp b/Minecraft.World/AnimatePacket.cpp index 2ca4ed495..9a03cb05d 100644 --- a/Minecraft.World/AnimatePacket.cpp +++ b/Minecraft.World/AnimatePacket.cpp @@ -22,13 +22,13 @@ AnimatePacket::AnimatePacket(shared_ptr e, int action) void AnimatePacket::read(DataInputStream *dis) //throws IOException { id = dis->readInt(); - action = dis->readByte(); + action = static_cast(dis->readByte()); } void AnimatePacket::write(DataOutputStream *dos) //throws IOException { dos->writeInt(id); - dos->writeByte(action); + dos->writeByte(static_cast(action)); } void AnimatePacket::handle(PacketListener *listener) diff --git a/Minecraft.World/BlockRegionUpdatePacket.cpp b/Minecraft.World/BlockRegionUpdatePacket.cpp index d85321a50..b485ef057 100644 --- a/Minecraft.World/BlockRegionUpdatePacket.cpp +++ b/Minecraft.World/BlockRegionUpdatePacket.cpp @@ -10,7 +10,7 @@ #include "DataLayer.h" #include "Dimension.h" - +#include "../Minecraft.Client/Windows64/Windows64_App.h" BlockRegionUpdatePacket::~BlockRegionUpdatePacket() {