mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 22:45:04 +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 Object2IntMaps.emptyMap();
|
||||
return new Object2IntOpenHashMap<>();
|
||||
}
|
||||
|
||||
private boolean isEnchantedBook(GeyserItemStack itemStack) {
|
||||
|
|
Loading…
Reference in a new issue