MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / Init

Method Init

src/lua/LuaScriptInterface.cpp:207–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void CommandInterface::Init()
208{
209 auto *lsi = static_cast<LuaScriptInterface *>(this);
210 if (lsi->Autorun())
211 {
212 lua_pop(lsi->L, 1);
213 }
214}
215
216int LuaScriptInterface::Autorun()
217{

Callers

nothing calls this directly

Calls 1

AutorunMethod · 0.80

Tested by

no test coverage detected