Skip to content

Commit

Permalink
* Removed menu-man, use is now dependent on project.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hempfest committed Mar 4, 2021
1 parent 4ef0482 commit d52e912
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
1 change: 0 additions & 1 deletion Labyrinth.iml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<orderEntry type="library" name="Maven: com.googlecode.json-simple:json-simple:1.1.1" level="project" />
<orderEntry type="library" name="Maven: junit:junit:4.10" level="project" />
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
<orderEntry type="library" name="Maven: com.github.ms5984.lib:menu-man:1.1.0" level="project" />
<orderEntry type="library" name="Maven: com.github.the-h-team:Enterprise:1.5" level="project" />
</component>
</module>
15 changes: 1 addition & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.sanctum.Labyrinth</groupId>
<artifactId>Labyrinth</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<packaging>jar</packaging>

<name>Labyrinth</name>
Expand Down Expand Up @@ -41,7 +41,6 @@
<artifactSet>
<includes>
<include>com.github.MilkBowl:VaultAPI</include>
<include>com.github.ms5984.lib:menu-man</include>
<include>com.github.the-h-team:Enterprise</include>
</includes>
</artifactSet>
Expand All @@ -56,12 +55,6 @@
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
<filter>
<artifact>com.github.ms5984.lib:menu-man</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
<filter>
<artifact>com.github.the-h-team:Enterprise</artifact>
<includes>
Expand Down Expand Up @@ -126,12 +119,6 @@
<version>1.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.ms5984.lib</groupId>
<artifactId>menu-man</artifactId>
<version>1.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.the-h-team</groupId>
<artifactId>Enterprise</artifactId>
Expand Down
10 changes: 8 additions & 2 deletions src/main/java/com/github/sanctum/labyrinth/task/Synchronous.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ public void waitReal(int interval) {
outer = new BukkitRunnable() {
@Override
public void run() {
Synchronous.this.run();
try {
Synchronous.this.run();
} catch (IllegalStateException ignored) {
}
}
};
outer.runTaskLaterAsynchronously(Labyrinth.getInstance(), interval);
Expand Down Expand Up @@ -234,7 +237,10 @@ public void repeatReal(int delay, int period) {
outer = new BukkitRunnable() {
@Override
public void run() {
Synchronous.this.run();
try {
Synchronous.this.run();
} catch (IllegalStateException ignored) {
}
}
};
outer.runTaskTimerAsynchronously(Labyrinth.getInstance(), delay, period);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Labyrinth
version: 1.3.1
version: 1.3.2
main: com.github.sanctum.labyrinth.Labyrinth
prefix: Labyrinth
api-version: 1.13
Expand Down

0 comments on commit d52e912

Please sign in to comment.