IGridBlock.getMachineRepresentation is not @Nullable
ruifung opened this issue ยท 2 comments
Despite the interface itself claiming that the method can return null, returning null for this method will crash the game due to ContainerNetworkStatus.java:122 trying to call .isEmpty() on a null item stack.
Duplicate of #3925
Well, yeah, probably should remove that @nullable annotation on that interface and update its javadoc to say that it shouldn't be null (the javadocs say that null is an acceptable value.)