mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-19 15:09:19 +00:00
chore: update HibiscusCommons
This commit is contained in:
@@ -86,7 +86,7 @@ allprojects {
|
||||
compileOnly("io.github.toxicity188:BetterCommand:1.3") //BetterCommand library
|
||||
//compileOnly("it.unimi.dsi:fastutil:8.5.14")
|
||||
compileOnly("org.projectlombok:lombok:1.18.34")
|
||||
compileOnly("me.lojosho:HibiscusCommons:0.6.2-d21ebed8")
|
||||
compileOnly("me.lojosho:HibiscusCommons:0.6.3-d97e5686")
|
||||
|
||||
// Handled by Spigot Library Loader
|
||||
compileOnly("net.kyori:adventure-api:4.19.0")
|
||||
|
||||
@@ -433,7 +433,7 @@ public class PlayerGameListener implements Listener {
|
||||
Player player = event.getPlayer();
|
||||
int invTypeClicked = event.getPacket().getIntegers().read(0);
|
||||
int slotClicked = -999;
|
||||
if (NMSHandlers.getVersion().isHigherOrEqual(MinecraftVersion.v1_21_4)) {
|
||||
if (NMSHandlers.getVersion().isHigherOrEqual(MinecraftVersion.v1_21_5)) {
|
||||
slotClicked = event.getPacket().getShorts().read(0);
|
||||
} else {
|
||||
slotClicked = event.getPacket().getIntegers().read(2);
|
||||
|
||||
Reference in New Issue
Block a user