fixes #864
This commit is contained in:
1 parent
be0635de82
commit
7380580a3e
1 file changed
+1
-1
@@ -279,7 +279,7 @@ public class HopperCounter
|
|||||||
{
|
{
|
||||||
block = ((BlockItem) item).getBlock();
|
block = ((BlockItem) item).getBlock();
|
||||||
}
|
}
|
||||||
else if (Registry.BLOCK.containsId(id))
|
else if (Registry.BLOCK.getOrEmpty(id).isPresent())
|
||||||
{
|
{
|
||||||
block = Registry.BLOCK.get(id);
|
block = Registry.BLOCK.get(id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user