I can't string, and unboxing is weird

This commit is contained in:
Electroblob77
2020-02-21 17:55:45 +00:00
parent df8fd21c0b
commit 5d96f4d700
4 changed files with 5 additions and 5 deletions
@@ -72,7 +72,7 @@ public class Divination extends Spell {
|| block instanceof BlockRedstoneOre
|| block instanceof BlockCrystalOre
|| Arrays.asList(Wizardry.settings.divinationOreWhitelist)
.contains(Pair.of(block.getRegistryName(), block.getMetaFromState(world.getBlockState(b)))));
.contains(Pair.of(block.getRegistryName(), (short)block.getMetaFromState(world.getBlockState(b)))));
});
Strength strength = Strength.NOTHING;