Fixed error.

This commit is contained in:
Brianna 2019-04-26 15:16:15 -04:00
parent 638cc3ac4f
commit cfb11797ad
2 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.14-pre5</version>
<version>1.14</version>
</dependency>
<dependency>
<groupId>com.songoda</groupId>

View File

@ -184,6 +184,8 @@ public final class UltimateRepairing extends JavaPlugin implements Listener {
// Wipe old kit information
dataFile.getConfig().set("data", null);
if (anvilManager.getAnvils() == null) return;
/*
* Save anvils from AnvilManager to Configuration.
*/