1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-30 07:10:45 +02:00

Replace deprecated methods: (#179)

- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
Jordan Irwin
2017-05-18 02:33:56 -07:00
committed by Vanessa Ezekowitz
parent 7d70d79cda
commit 69d994a2a2
6 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
if pipeworks.enable_detector_tube then
local detector_tube_step = 5 * tonumber(minetest.setting_get("dedicated_server_step"))
local detector_tube_step = 5 * tonumber(minetest.settings:get("dedicated_server_step"))
pipeworks.register_tube("pipeworks:detector_tube_on", {
description = "Detecting Pneumatic Tube Segment on (you hacker you)",
inventory_image = "pipeworks_detector_tube_inv.png",