From b796ac974b05f8e4262686650e363cf32752a9b7 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 17 May 2020 11:59:05 +0200 Subject: [PATCH] fix copypasta --- init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index b4a6135..f23729f 100644 --- a/init.lua +++ b/init.lua @@ -1,14 +1,14 @@ --- creative_hand/init.lua +-- creative_hands/init.lua -- Load support for MT game translation. -local S = minetest.get_translator("creative") +local S = minetest.get_translator("creative_hands") -creative = {} -creative.get_translator = S +creative_hands = {} +creative_hands.get_translator = S local creative_mode_cache = minetest.settings:get_bool("creative_mode") -function creative.is_enabled_for(name) +function creative_hands.creative_is_enabled_for(name) return creative_mode_cache or minetest.check_player_privs(name, {creative = true}) end