forked from Simnation/Main
11 lines
No EOL
425 B
Lua
11 lines
No EOL
425 B
Lua
local oldSet = Entity(0).state.set
|
|
|
|
Entity(0).state.set = function(self, key, value, replicate)
|
|
if key == "inv_busy" then
|
|
local owner = self.owner or "?"
|
|
local name = GetPlayerName(owner) or "?"
|
|
print(("🔥 [INV-DEBUG] Server: %s (%s) setzt inv_busy = %s"):format(name, owner, tostring(value)))
|
|
print(debug.traceback())
|
|
end
|
|
return oldSet(self, key, value, replicate)
|
|
end |