buildingmaker block marking

This commit is contained in:
minjaesong
2019-02-18 16:36:21 +09:00
parent ce010c1aa5
commit 7f1e48304b
6 changed files with 87 additions and 16 deletions

View File

@@ -11,7 +11,6 @@ import net.torvald.terrarum.ui.ConsoleWindow
import java.util.*
import java.util.concurrent.locks.Lock
import java.util.concurrent.locks.ReentrantLock
import javax.swing.JOptionPane
/**
* Although the game (as product) can have infinitely many stages/planets/etc., those stages must be manually managed by YOU;
@@ -144,11 +143,11 @@ open class IngameInstance(val batch: SpriteBatch) : Screen {
index = actorContainerInactive.binarySearch(ID)
if (index < 0) {
JOptionPane.showMessageDialog(
/*JOptionPane.showMessageDialog(
null,
"Actor with ID $ID does not exist.",
null, JOptionPane.ERROR_MESSAGE
)
)*/
throw IllegalArgumentException("Actor with ID $ID does not exist.")
}
else