mirror of
https://github.com/cuberite/cuberite.git
synced 2025-01-09 04:19:26 +08:00
ToLua driver: disabled output buffering.
This commit is contained in:
parent
836de13797
commit
36d1972336
@ -3,6 +3,9 @@
|
||||
local mobdebugfound, mobdebug = pcall(require, "mobdebug")
|
||||
if mobdebugfound then mobdebug.start() end
|
||||
|
||||
-- Disable buffering for stdout, so that the results appear immediately:
|
||||
io.output():setvbuf("no")
|
||||
|
||||
-- The list of valid arguments that the ToLua scripts can process:
|
||||
local KnownArgs = {
|
||||
['v'] = true,
|
||||
|
Loading…
Reference in New Issue
Block a user