Compare commits

3 커밋

작성자 SHA1 메시지 날짜
1a9996b76c Merge branch 'master' of yunohost.local:mtcontrib/minetest-toolranks into nalc-1.2-dev 2019-12-22 15:18:48 +01:00
Argyle
ea5426316e Crash fix - check if description is nil before trying to search it. (#3) 2019-03-15 00:13:16 +00:00
lisacvuk
5f87854323 Create mod.conf
#4
2019-03-14 09:29:17 +00:00
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -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"

1
mod.conf Normal file
파일 보기

@@ -0,0 +1 @@
name = toolranks