You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (serverVersion.equalsIgnoreCase("1.19") || serverVersion.equalsIgnoreCase("1.19.1") || serverVersion.equalsIgnoreCase("1.19.2") || serverVersion.equalsIgnoreCase("1.19.3")) {
60
+
if (legacyVersions.contains(serverVersion)) {
57
61
legacyVersion = true;
58
62
this.getVillagerInfoLogger().severe("You are on an old version, some options will not work as intended. Please update to the current minecraft version for full config options. Unsupported options in your version: ");
59
63
this.getVillagerInfoLogger().warning("RGB Highlighting on workstations (1.19.4 implementation)");
60
64
this.getVillagerInfoLogger().warning("Block displays for workstations (1.19.4 implementation)");
61
65
}
66
+
if (!nmsSupportedVersions.contains(serverVersion)) {
67
+
nmsUnsupported = true;
68
+
this.getVillagerInfoLogger().warning("Please note that the VillagerInfo version you are running is coded to run on Minecraft version " + nmsSupportedVersions + ". Methods that rely on NMS will be set to use legacy methods.");
69
+
}
62
70
reloadVillInfoConfigs();
63
71
registerCommands();
64
72
}
@@ -101,6 +109,9 @@ public MiniMessage getMiniMessage() {
Copy file name to clipboardExpand all lines: src/main/java/simplexity/villagerinfo/configurations/locale/ServerMessage.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ public enum ServerMessage {
16
16
HELP_TOGGLE_HIGHLIGHT("\n<#4dd5ff><click:suggest_command:'/vi toggle highlight'><hover:show_text:'<#4dd5ff>/vi toggle highlight'><u> • /vi toggle highlight</u>\n<grey>Sets your preference on whether or not you would like the plugin to highlight a villager's workstation when you crouch-interact with them"),
17
17
HELP_TOGGLE_SOUND("\n<#4dd5ff><click:suggest_command:'/vi toggle sound'><hover:show_text:'<#4dd5ff>/vi toggle sound'><u> • /vi toggle sound</u></hover></click>\n<grey>Sets your preference on whether or not you would like a sound to play when you crouch-interact with a villager"),
18
18
HELP_TOGGLE_OUTPUT("\n<#4dd5ff><click:suggest_command:'/vi toggle output'><hover:show_text:'<#4dd5ff>/vi toggle output'><u> • /vi toggle output</u></hover></click>\n<grey>Sets your preference on whether or not you would like text output to display when you crouch-interact with a villager"),
19
-
NOT_A_PLAYER("<plugin_prefix> <red>Sorry, you must be a player to use this command"),
19
+
NOT_A_PLAYER("<red>Sorry, you must be a player to use this command"),
CONFIGURED_SOUND_ERROR(" is not a valid sound! Setting sound to 'BLOCK_AMETHYST_BLOCK_BREAK' until a valid sound is provided"),
22
22
CONFIGURED_HIGHLIGHT_TIME_ERROR("Invalid highlight time. If you would like to disable this feature, please set 'highlight-workstation' to 'false'. Otherwise please use an integer greater than zero. Setting value to 10s until a valid number is supplied"),
0 commit comments