forked from mtcontrib/minetest-toolranks
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			nalc-1.0
			...
			1a9996b76c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1a9996b76c | |||
|  | ea5426316e | ||
|  | 5f87854323 | 
							
								
								
									
										4
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.lua
									
									
									
									
									
								
							| @@ -10,7 +10,9 @@ toolranks.colors = { | ||||
| } | ||||
|  | ||||
| function toolranks.get_tool_type(description) | ||||
|   if string.find(description, "Pickaxe") then | ||||
|   if not description then | ||||
|     return "tool" | ||||
|   elseif string.find(description, "Pickaxe") then | ||||
|     return "pickaxe" | ||||
|   elseif string.find(description, "Axe") then | ||||
|     return "axe" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user