mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix all warnings & Trim (#2226)
* Fix AutoFishing crash * Fix all warnings * Remove DotNetZip. * Fix the usage of HttpClient.
This commit is contained in:
parent
4aa6c1c99f
commit
1d52d1eadd
227 changed files with 2201 additions and 43564 deletions
|
|
@ -1,10 +1,8 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using MinecraftClient.Mapping;
|
||||
using MinecraftClient.Inventory;
|
||||
using MinecraftClient.Logger;
|
||||
using MinecraftClient.Mapping;
|
||||
using MinecraftClient.Protocol.Message;
|
||||
|
||||
namespace MinecraftClient.Protocol
|
||||
|
|
@ -223,7 +221,7 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="entityid">Entity id</param>
|
||||
/// <param name="slot">Equipment slot. 0: main hand, 1: off hand, 2–5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet)/param>
|
||||
/// <param name="item">Item/param>
|
||||
void OnEntityEquipment(int entityid, int slot, Item item);
|
||||
void OnEntityEquipment(int entityid, int slot, Item? item);
|
||||
|
||||
/// <summary>
|
||||
/// Called when a player spawns or enters the client's render distance
|
||||
|
|
@ -297,7 +295,7 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="slotID">Slot ID</param>
|
||||
/// <param name="item">Item (may be null for empty slot)</param>
|
||||
/// <param name="stateId">State ID</param>
|
||||
void OnSetSlot(byte inventoryID, short slotID, Item item, int stateId);
|
||||
void OnSetSlot(byte inventoryID, short slotID, Item? item, int stateId);
|
||||
|
||||
/// <summary>
|
||||
/// Called when player health or hunger changed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue