mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Fix #1414
This commit is contained in:
parent
a14959ac70
commit
97424f7d0a
@ -1,6 +1,6 @@
|
||||
local S = minetest.get_translator("mcl_boats")
|
||||
|
||||
local boat_visual_size = {x = 3, y = 3, z = 3}
|
||||
local boat_visual_size = {x = 1, y = 1, z = 1}
|
||||
local paddling_speed = 22
|
||||
local boat_y_offset = 0.35
|
||||
local boat_y_offset_ground = boat_y_offset + 0.6
|
||||
|
Binary file not shown.
@ -227,6 +227,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
if mcl_skins.skin_count <= 6 then
|
||||
-- Change skin immediately if there are not many skins
|
||||
mcl_skins.cycle_skin(player)
|
||||
if player:get_attach() ~= nil then
|
||||
mcl_player.player_set_animation(player, "sit")
|
||||
end
|
||||
else
|
||||
-- Show skin selection formspec otherwise
|
||||
mcl_skins.show_formspec(player:get_player_name())
|
||||
@ -294,4 +297,3 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
end)
|
||||
|
||||
minetest.log("action", "[mcl_skins] Mod initialized with "..mcl_skins.skin_count.." custom skin(s)")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user