mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-25 00:07:31 +01:00
Fix bug when adding enchantments in anvil
This commit is contained in:
parent
dacacc6df8
commit
74d6a37261
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ public class AnvilInventoryUpdater extends InventoryUpdater {
|
||||||
}
|
}
|
||||||
return enchantments;
|
return enchantments;
|
||||||
}
|
}
|
||||||
return Object2IntMaps.emptyMap();
|
return new Object2IntOpenHashMap<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isEnchantedBook(GeyserItemStack itemStack) {
|
private boolean isEnchantedBook(GeyserItemStack itemStack) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue