mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix Miner/Farmer addon scripts (#1047)
This commit is contained in:
parent
87302bafab
commit
09bfe92071
4 changed files with 17 additions and 17 deletions
|
|
@ -572,7 +572,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
case PacketIncomingType.ResourcePackSend:
|
||||
string url = dataTypes.ReadNextString(packetData);
|
||||
string hash = dataTypes.ReadNextString(packetData);
|
||||
// Ignore invalid length hash string
|
||||
// Some server plugins may send invalid resource packs to probe the client and we need to ignore them (issue #1056)
|
||||
if (hash.Length != 40)
|
||||
break;
|
||||
//Send back "accepted" and "successfully loaded" responses for plugins making use of resource pack mandatory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue