textures
|
@ -140,7 +140,7 @@ function beds.on_rightclick(pos, player)
|
|||
return
|
||||
end
|
||||
-- check for nearby monsters
|
||||
local objects = minetest.get_objects_inside_radius(ppos, 8)
|
||||
local objects = minetest.get_objects_inside_radius(pos, 8)
|
||||
local mobname = ""
|
||||
for _,obj in ipairs(objects) do
|
||||
if obj:get_luaentity() then
|
||||
|
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 575 B After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 482 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 519 B After Width: | Height: | Size: 701 B |
After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 482 B |
After Width: | Height: | Size: 746 B |