Skip to content

Commit

Permalink
Fixed setItem with equipment slot checking the wrong version
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcilore committed Jun 21, 2024
1 parent 5fb4562 commit f39d085
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public EsItemStack getBoots() {

@Override
public void setItem(EsEquipmentSlot slot, EsItemStack item) {
if (Main.minecraftVersion.getMinor() <= 12) {
if (Main.minecraftVersion.getMinor() <= 14) {
int slotId;
switch (slot) {
case Head:
Expand Down

0 comments on commit f39d085

Please sign in to comment.