mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-22 16:05:03 +00:00
Reword invalid version message, include releases link
This commit is contained in:
parent
100d0e12cd
commit
a1f4649a09
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue