change minetest. to core.

This commit is contained in:
tenplus1
2025-05-04 12:20:54 +01:00
parent 15aab8037a
commit fe00a32992
12 changed files with 59 additions and 59 deletions

View File

@ -1,7 +1,7 @@
-- translation and custom tree monster types
local S = minetest.get_translator("mobs_monster")
local S = core.get_translator("mobs_monster")
local tree_types = {
@ -114,7 +114,7 @@ mobs:register_mob("mobs_monster:tree_monster", {
if tmp.explode and math.random(2) == 1 then return true end
if minetest.find_node_near(pos, 1, tmp.nodes) then
if core.find_node_near(pos, 1, tmp.nodes) then
self.base_texture = tmp.skins
self.object:set_properties({textures = tmp.skins})