Reword invalid version message, include releases link
This commit is contained in:
@@ -405,8 +405,8 @@ public class OpenInv extends JavaPlugin implements IOpenInv {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
||||||
if (!this.accessor.isSupported()) {
|
if (!this.accessor.isSupported()) {
|
||||||
sender.sendMessage("Your version of CraftBukkit (" + this.accessor.getVersion() + ") is not supported.");
|
sender.sendMessage("Your server version (" + this.accessor.getVersion() + ") is not supported.");
|
||||||
sender.sendMessage("If this version is a recent release, check for an update.");
|
sender.sendMessage("Please check https://github.com/lishid/OpenInv/releases for an update.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user