Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/main/java/com/extendedclip/deluxemenus/DeluxeMenus.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ public class DeluxeMenus extends JavaPlugin {

@Override
public void onLoad() {
if (VersionHelper.HAS_DATA_COMPONENTS) {
this.debug(
DebugLevel.HIGHEST,
Level.INFO,
"Legacy NBT item options are not supported on data component versions. The following options are unavailable: nbt_int, nbt_ints, nbt_string and nbt_strings."
);
return;
}

if (NbtProvider.isAvailable()) {
this.debug(DebugLevel.HIGHEST, Level.INFO, "NMS hook has been setup successfully!");
return;
Expand Down