fix potential crash (#5305)

I dont think this can even happen without some plugins or mods but its better to be safe than sorry.
This commit is contained in:
buthed010203
2021-05-28 13:27:20 -04:00
committed by GitHub
parent 2f07a21d66
commit 0bf25cdd01

View File

@@ -319,6 +319,7 @@ public class MassDriver extends Block{
@Override
public Point2 config(){
if(tile == null) return null;
return Point2.unpack(link).sub(tile.x, tile.y);
}