fix: cleanup, start replacing error handling

This commit is contained in:
izzy 2026-03-08 11:56:12 -04:00
parent 7dc6009fc0
commit 82bb77a3a5
2 changed files with 1 additions and 4 deletions

View file

@ -35,9 +35,6 @@
#include "..\Minecraft.World\net.minecraft.world.item.crafting.h" #include "..\Minecraft.World\net.minecraft.world.item.crafting.h"
#include "Options.h" #include "Options.h"
// MinecraftConsoles Added
#include "..\Minecraft.World\Exceptions.h"
Random PlayerConnection::random; Random PlayerConnection::random;
PlayerConnection::PlayerConnection(MinecraftServer *server, Connection *connection, shared_ptr<ServerPlayer> player) PlayerConnection::PlayerConnection(MinecraftServer *server, Connection *connection, shared_ptr<ServerPlayer> player)

View file

@ -501,7 +501,7 @@ int DataInputStream::readUTFChar()
if (firstByte == -1) if (firstByte == -1)
{ {
throw EOFException(L"DataInputStream::readUTFChar - end of stream"); return -1;
} }
// Masking patterns: // Masking patterns: