mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-13 11:18:19 +01:00
Fix max stack size validation when reading json mappings
This commit is contained in:
parent
4aea17a174
commit
16832433a0
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class DataComponentReaders {
|
|||
READERS.put(MinecraftKey.key("equippable"), new EquippableReader());
|
||||
READERS.put(MinecraftKey.key("food"), new FoodReader());
|
||||
READERS.put(MinecraftKey.key("max_damage"), new IntComponentReader(DataComponentType.MAX_DAMAGE, 0));
|
||||
READERS.put(MinecraftKey.key("max_stack_size"), new IntComponentReader(DataComponentType.MAX_STACK_SIZE, 0, 99));
|
||||
READERS.put(MinecraftKey.key("max_stack_size"), new IntComponentReader(DataComponentType.MAX_STACK_SIZE, 1, 99));
|
||||
READERS.put(MinecraftKey.key("use_cooldown"), new UseCooldownReader());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue