summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nodes_furniture.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/nodes_furniture.lua b/nodes_furniture.lua
index 594c95b..0be9b6e 100644
--- a/nodes_furniture.lua
+++ b/nodes_furniture.lua
@@ -335,6 +335,10 @@ minetest.register_node("cottages:washing", {
---------------------------------------------------------------------------------------
cottages.allow_sit = function( player )
+ -- no check possible
+ if( not( player.get_player_velocity )) then
+ return true;
+ end
local velo = player:get_player_velocity();
if( not( velo )) then
return false;