mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 05:54:05 +09:00
sprites can be rendered across the world seam
This commit is contained in:
@@ -18,14 +18,14 @@ internal object Echo : ConsoleCommand {
|
||||
val sb = StringBuilder()
|
||||
for (ch in single_line) {
|
||||
if (ch == '\n') {
|
||||
Terrarum.ingame!!.consoleHandler.sendMessage(sb.toString())
|
||||
INGAME.consoleHandler.sendMessage(sb.toString())
|
||||
println("[Echo] $csiG$sb$csi0")
|
||||
sb.delete(0, sb.length - 1)
|
||||
}
|
||||
else
|
||||
sb.append(ch)
|
||||
}
|
||||
Terrarum.ingame!!.consoleHandler.sendMessage(sb.toString())
|
||||
INGAME.consoleHandler.sendMessage(sb.toString())
|
||||
println("[Echo] $csiG$sb$csi0")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user