mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-06 15:41:50 +00:00
Changes as I was randomly staring at the code
This commit is contained in:
@@ -72,7 +72,7 @@ public class CustomItemsTest {
|
||||
tagToCustomItemWithDamage = new Object2IntOpenHashMap<>();
|
||||
|
||||
CompoundTag tag = new CompoundTag("");
|
||||
tag.put(new IntTag("CustomModelData", 6));
|
||||
addCustomModelData(6, tag);
|
||||
// Test item with no damage should be treated as unbreakable
|
||||
tagToCustomItemWithDamage.put(tag, optionsToId.getInt(a));
|
||||
|
||||
@@ -121,7 +121,7 @@ public class CustomItemsTest {
|
||||
tagToCustomItemWithNoDamage = new Object2IntOpenHashMap<>();
|
||||
|
||||
tag = new CompoundTag("");
|
||||
tag.put(new IntTag("CustomModelData", 2));
|
||||
addCustomModelData(2, tag);
|
||||
// Damage predicates existing mean an item will never match if the item mapping has no max damage
|
||||
tagToCustomItemWithNoDamage.put(tag, -1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user