Skip to content

Commit

Permalink
1.1.2: bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benfiratkaya committed Jun 26, 2024
1 parent 74ff69d commit b4b18cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ public static void showGui(Player player, Category categoryObj) {
// Next and previous page icons
gui.addElement(GuiHelper.createNextPage(Bukkit.getInstance().getModulesFile().getWebStore().getGui().getNextPage().getItem()));
gui.addElement(GuiHelper.createPreviousPage(Bukkit.getInstance().getModulesFile().getWebStore().getGui().getPreviousPage().getItem()));
gui.show(player);

org.bukkit.Bukkit.getScheduler().runTask(Bukkit.getInstance(), () -> {
gui.show(player);
});

RequestUtil.invalidate(player.getUniqueId());
});
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<shared.version>1.1.1</shared.version>
<shared.version>1.1.2</shared.version>
</properties>

<!-- Dependencies -->
Expand Down
4 changes: 2 additions & 2 deletions velocity/src/main/java/net/leaderos/velocity/Velocity.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@Plugin(
id = "leaderos",
name = "LeaderOS",
version = "1.1.1",
version = "1.1.2",
url = "https://leaderos.net",
description = "LeaderOS Plugin for Velocity",
authors = {"leaderos"}
Expand Down Expand Up @@ -209,7 +209,7 @@ public void setupFiles() {

public void checkUpdate() {
Velocity.getInstance().getServer().getScheduler().buildTask(Velocity.getInstance(), () -> {
PluginUpdater updater = new PluginUpdater("1.1.1");
PluginUpdater updater = new PluginUpdater("1.1.2");
try {
if (updater.checkForUpdates()) {
Component msg = ChatUtil.replacePlaceholders(
Expand Down

0 comments on commit b4b18cc

Please sign in to comment.