Commit db2d6a4
item/stack.go: add option to apply incompatible enchantments (df-mc#1117)
* add ability to enchant item with incompatible enchantments
* accept variadic arguments
* requested
* rename function
* Update server/item/stack.go
Co-authored-by: RestartFU <45609733+RestartFU@users.noreply.github.com>
* Update server/internal/nbtconv/read.go
* Update server/item/stack.go
---------
Co-authored-by: Hashim <hashimssoftware@gmail.com>
Co-authored-by: RestartFU <45609733+RestartFU@users.noreply.github.com>1 parent 0121d71 commit db2d6a4
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | | - | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
228 | | - | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
284 | 295 | | |
285 | 296 | | |
286 | 297 | | |
| |||
0 commit comments