Fix payload driver crash (#5565)
Similar to the mass driver one, https://i-dont.go-outsi.de/53ZwBY_YS.png
This commit is contained in:
@@ -456,6 +456,7 @@ public class PayloadMassDriver extends PayloadBlock{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Point2 config(){
|
public Point2 config(){
|
||||||
|
if(tile == null) return null;
|
||||||
return Point2.unpack(link).sub(tile.x, tile.y);
|
return Point2.unpack(link).sub(tile.x, tile.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user