mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 23:33:44 +01:00
Formspec bugfixes
This commit is contained in:
parent
12798bb7d2
commit
1206e5a461
@ -1,6 +1,21 @@
|
||||
# Release Notes for ModPack TechPack [techpack]
|
||||
|
||||
|
||||
## V2.00.02 (2019-01-15)
|
||||
|
||||
### Additions
|
||||
- SaferLua: Init parameter to the function Store() added
|
||||
|
||||
### Removals
|
||||
|
||||
### Changes
|
||||
|
||||
### Fixes
|
||||
- Distributors: Formspec bugfixes
|
||||
|
||||
|
||||
|
||||
|
||||
## V2.00.01 (2019-01-13)
|
||||
|
||||
### Additions
|
||||
@ -12,6 +27,7 @@
|
||||
### Changes
|
||||
- Grinder: Recipes for clay changed
|
||||
|
||||
### Fixes
|
||||
|
||||
|
||||
|
||||
|
@ -294,7 +294,11 @@ local function on_receive_fields(pos, formname, fields, player)
|
||||
|
||||
filter_settings(pos)
|
||||
|
||||
if fields.state_button ~= nil then
|
||||
State:state_button_event(pos, fields)
|
||||
else
|
||||
meta:set_string("formspec", formspec(State, pos, meta))
|
||||
end
|
||||
end
|
||||
|
||||
-- tubelib command to turn on/off filter channels
|
||||
@ -310,7 +314,7 @@ local function change_filter_settings(pos, slot, val)
|
||||
|
||||
filter_settings(pos)
|
||||
|
||||
meta:set_string("formspec", formspec(pos, meta))
|
||||
meta:set_string("formspec", formspec(State, pos, meta))
|
||||
return true
|
||||
end
|
||||
|
||||
|
@ -278,7 +278,11 @@ local function on_receive_fields(pos, formname, fields, player)
|
||||
|
||||
filter_settings(pos)
|
||||
|
||||
if fields.state_button ~= nil then
|
||||
State:state_button_event(pos, fields)
|
||||
else
|
||||
meta:set_string("formspec", formspec(State, pos, meta))
|
||||
end
|
||||
end
|
||||
|
||||
-- tubelib command to turn on/off filter channels
|
||||
@ -294,7 +298,7 @@ local function change_filter_settings(pos, slot, val)
|
||||
|
||||
filter_settings(pos)
|
||||
|
||||
meta:set_string("formspec", formspec(pos, meta))
|
||||
meta:set_string("formspec", formspec(State, pos, meta))
|
||||
return true
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user