Skip to content

Instantly share code, notes, and snippets.

View RobThePCGuy's full-sized avatar
🏠
Working from home

Rob Adams Jr RobThePCGuy

🏠
Working from home
View GitHub Profile
@RobThePCGuy
RobThePCGuy / modmain.lua
Created April 15, 2026 22:00
Fix for Map Jump DST mod - controller support and repeated use. Hooks GetMapActions directly instead of relying on the BLINK remap chain.
GLOBAL.setmetatable(env, {__index = function(t, k) return GLOBAL.rawget(GLOBAL, k) end})
local lang = GetModConfigData("language") or "zhs"
---------------------------------------------util-----------------------------------------------------------
local function debug_get(fn,name,maxlevel,max,level,file)
if type(fn) ~= "function" then return end
local maxlevel = maxlevel or 5
local level = level or 0
local max = max or 20