Skip to content

Commit 93f9a51

Browse files
Version push
1 parent 995e0a5 commit 93f9a51

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/net/bghddevelopment/punishmentgui/PunishGUI.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public final class PunishGUI extends JavaPlugin {
4141
private BannedManager bannedPlayersManager = BannedManager.getManager();
4242
private PlaceholderAPI placeholderAPI;
4343
private Glow glow;
44+
private String Version = "1.1.7";
4445

4546
public static PunishGUI getInstance() {
4647
return PunishGUI.instance;
@@ -147,7 +148,7 @@ public void updateCheck(CommandSender sender, boolean console) {
147148
JsonObject plugins = object.get("plugins").getAsJsonObject();
148149
JsonObject info = plugins.get("PunishmentGUI").getAsJsonObject();
149150
String version = info.get("version").getAsString();
150-
if (version.equals(getDescription().getVersion())) {
151+
if (version.equals(getVersion())) {
151152
if (console) {
152153
sender.sendMessage(Color.translate("&aPunishmentGUI is on the latest version."));
153154
}

src/main/resources/plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: PunishGUI
2-
version: 1.1.6
2+
version: 1.1.7
33
main: net.bghddevelopment.punishmentgui.PunishGUI
44
authors: [BGHDDevelopmentLLC]
55
api-version: 1.13

0 commit comments

Comments
 (0)