Skip to content

Commit

Permalink
Change 'mobs_monster' prefix to 'mobs'
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Aug 10, 2017
1 parent f0faa6f commit 0d52c14
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local S = mobs.intllib

-- Dirt Monster by PilzAdam

mobs:register_mob("mobs_monster:dirt_monster", {
mobs:register_mob("mobs:dirt_monster", {
type = "monster",
passive = false,
attack_type = "dogfight",
Expand Down Expand Up @@ -58,7 +58,7 @@ if minetest.get_modpath("ethereal") then
end

mobs:spawn({
name = "mobs_monster:dirt_monster",
name = "mobs:dirt_monster",
nodes = {spawn_on},
min_light = 0,
max_light = 7,
Expand All @@ -69,7 +69,4 @@ mobs:spawn({
})


mobs:register_egg("mobs_monster:dirt_monster", S("Dirt Monster"), "default_dirt.png", 1)


mobs:alias_mob("mobs:dirt_monster", "mobs_monster:dirt_monster") -- compatibility
mobs:register_egg("mobs:dirt_monster", S("Dirt Monster"), "default_dirt.png", 1)

0 comments on commit 0d52c14

Please sign in to comment.