Update custom-items.md (#176)

Fix a url error.
This commit is contained in:
qscbm187531 authored and GitHub committed 2023-08-05 14:24:23 +02:00
1 parent f57a79ac76
commit 638131ca70
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ NonVanillaCustomItemData data = NonVanillaCustomItemData.builder()
.identifier("my_mod:my_item")
.javaId(1)
```
2. There are many other options you can set to match the behavior that you require for your item. You can see them [here](https://github.com/GeyserMC/Geyser/blob/master/api/geyser/src/main/java/org/geysermc/geyser/api/item/custom/NonVanillaCustomItemData.java)
2. There are many other options you can set to match the behavior that you require for your item. You can see them [here](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/item/custom/NonVanillaCustomItemData.java)
3. Register your item in the GeyserDefineCustomItems event:
```java
@Subscribe