Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 5446e0d

Browse files
committed
Update README + API
1 parent 16ceea1 commit 5446e0d

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

API.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,3 @@ You can add a stereotype like so:
168168
```Lua
169169
craftguide.group_stereotypes.radioactive = "mod:item"
170170
```
171-
172-
#### `craftguide.background`
173-
174-
You can set a custom background theme by overriding this variable:
175-
176-
```Lua
177-
craftguide.background = "<file_name.png>#<middle>"
178-
179-
```
180-
181-
`middle` (number) refers to a 9-sliced background. Read the engine's Lua API documentation for more info.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ For developers, `craftguide` also has a [modding API](https://github.com/minetes
1919
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
2020

2121

22-
![Preview2](https://i.imgur.com/IbexMwQ.png)
22+
![Preview2](https://i.imgur.com/GVQvufb.png)

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ register_command("craft", {
17911791
end
17921792

17931793
if not node_name then
1794-
return false, clr("red", "[craftguide] ") .. S("No node pointed")
1794+
return false, msg(name, S("No node pointed"))
17951795
end
17961796

17971797
return true, craftguide.show(name, node_name)

0 commit comments

Comments
 (0)