mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-11-01 00:10:19 +01:00
Fixed error.
This commit is contained in:
parent
638cc3ac4f
commit
cfb11797ad
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user