new patch for witt

master
Gitea 2021-03-09 13:27:40 +01:00
parent 9fb8c760e2
commit 5aa716af69
No known key found for this signature in database
GPG Key ID: A32BA3C84B90E0FC
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
witt_fix_unknown_node.patch
witt_fix.diff

View File

@ -8,7 +8,7 @@ Index: survival-mods/witt/init.lua
- if lookat then
+ if lookat and minetest.registered_nodes[lookat.name] ~= nil then
+ --if lookat then
+ --if lookat then
if player_to_cnode[player] ~= lookat.name then -- Only do anything if they are looking at a different type of block than before
player_to_animtime[player] = nil -- Reset the animation
local nodename, mod = describe_node(lookat) -- Get the details of the block in a nice looking way