Do not crash when reading null planets
This commit is contained in:
@@ -106,7 +106,7 @@ public enum EditorTool{
|
||||
|
||||
if(tile == null) return;
|
||||
|
||||
if(editor.drawBlock.isMultiblock()){
|
||||
if(editor.drawBlock.isMultiblock() && (mode == 0 || mode == -1)){
|
||||
//don't fill multiblocks, thanks
|
||||
pencil.touched(x, y);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user