This commit is contained in:
gnembon committed 2021-05-17 22:20:32 -03:00
1 parent be0635de82
commit 7380580a3e
1 file changed
+1 -1
@@ -279,7 +279,7 @@ public class HopperCounter
{
block = ((BlockItem) item).getBlock();
}
else if (Registry.BLOCK.containsId(id))
else if (Registry.BLOCK.getOrEmpty(id).isPresent())
{
block = Registry.BLOCK.get(id);
}