Skip to content

Commit a154736

Browse files
authored
Update README.md for more transparency
Adds a blurb about initializing the NBT Wrapper with two options for legacy and modern versions.
1 parent e41ee41 commit a154736

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ public class MyPlugin extends JavaPlugin {
127127
@Override
128128
public void onEnable() {
129129
menu = createExampleMenu();
130+
131+
// For > 1.13.2
132+
ItemNbt.wrapper(new Pdc(this));
133+
134+
// for <= 1.13.2 (Legacy)
135+
ItemNbt.wrapper(new LegacyNbt());
130136
}
131137

132138
...

0 commit comments

Comments
 (0)