Fix some undeclared global bugs, and horse aliases
This commit is contained in:
parent
7731afa758
commit
f41bda8cdf
|
@ -313,12 +313,6 @@ mobs:register_spawn("mobs_mc:horse", {"mcl_core:dirt_with_grass", "mcl_core:dirt
|
|||
mobs:register_spawn("mobs_mc:horse2", {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, 20, 9, 23000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:horse3", {"mcl_core:sand", "mcl_core:redsand"}, 20, 9, 17000, 1, 5)
|
||||
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:horse", "mobs_mc:horse")
|
||||
mobs:alias_mob("mobs:horse2", "mobs_mc:horse2")
|
||||
mobs:alias_mob("mobs:horse3", "mobs_mc:horse3")
|
||||
|
||||
-- spawn eggs
|
||||
-- KPV wild horse spawn eggs
|
||||
mobs:register_egg("mobs_mc:horse", "Spawn Brown Horse", "spawn_egg_horse.png", 0)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- Settings
|
||||
|
||||
-- If true, activates achievements from other Minecraft editions (XBox, PS, etc.)
|
||||
local non_pc_achievement = false
|
||||
local non_pc_achievements = false
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
|
|
|
@ -226,7 +226,7 @@ mcl_fences.register_fence_gate = function(id, fence_gate_name, texture, groups,
|
|||
return gate_id, open_gate_id
|
||||
end
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate = function(id, fence_name, fence_gate_name, texture, groups, hardness, blast_reistance, connects_to, sounds, sound_open, sound_close, sound_gain_open, sound_gain_close)
|
||||
mcl_fences.register_fence_and_fence_gate = function(id, fence_name, fence_gate_name, texture, groups, hardness, blast_resistance, connects_to, sounds, sound_open, sound_close, sound_gain_open, sound_gain_close)
|
||||
local fence_id = mcl_fences.register_fence(id, fence_name, texture, groups, hardness, blast_resistance, connects_to, sounds)
|
||||
local gate_id, open_gate_id = mcl_fences.register_fence_gate(id, fence_gate_name, texture, groups, hardness, blast_resistance, sounds, sound_open, sound_close, sound_gain_open, sound_gain_close)
|
||||
return fence_id, gate_id, open_gate_id
|
||||
|
|
Loading…
Reference in New Issue
Block a user