1
0
réplica de https://github.com/sys4-fr/server-nalc.git sincronizado 2025-09-16 18:55:34 +02:00

Fixed very rare occurrence with invtweak's formspec

- Solves #70 and crash on May 30th, 2015, 18h58
Este cometimento está contido em:
LeMagnesium
2015-05-30 19:09:03 +02:00
ascendente 59f42c1935
cometimento 74d0303dc3

Ver ficheiro

@@ -15,6 +15,7 @@ tweak.buttons = {
local function get_formspec_size(formspec)
local w = 8
local h = 7.5
if not formspec then return end
local sstring = string.find(formspec,"size[",1,true)
if sstring ~= nil then
sstring = string.sub(formspec, sstring+5)