mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-10-31 12:35:22 +01:00 
			
		
		
		
	fix nether fruit
test d’un fix pour résoudre le problème avec le nether fruit
This commit is contained in:
		| @@ -368,7 +368,7 @@ minetest.register_node("nether:apple", { | ||||
| 		end | ||||
| 		local amount = math.random(4, 6) | ||||
|     local p_hunger = tonumber(hud.hunger[user:get_player_name()]) | ||||
|     if not p_hunger then return end | ||||
|     --if not p_hunger then return end -- test si résoud notre problème avec le nether fruit | ||||
|     p_hunger = p_hunger+3 | ||||
|     if p_hunger > 30 then p_hunger = 30 end | ||||
|     hud.hunger[user:get_player_name()] = p_hunger | ||||
|   | ||||
		Reference in New Issue
	
	Block a user