diff --git a/pom.xml b/pom.xml
index 794b68e..fecadb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,10 +4,9 @@
com.lenis0012.bukkit
marriage2
- 2.0.20-SNAPSHOT
+ 2.0.20
jar
Marriage
- http://dev.bukkit.org/server-mods/marriage-reloaded/
UTF-8
diff --git a/src/main/java/com/lenis0012/bukkit/marriage2/internal/MarriagePlugin.java b/src/main/java/com/lenis0012/bukkit/marriage2/internal/MarriagePlugin.java
index 18c91df..27709bc 100644
--- a/src/main/java/com/lenis0012/bukkit/marriage2/internal/MarriagePlugin.java
+++ b/src/main/java/com/lenis0012/bukkit/marriage2/internal/MarriagePlugin.java
@@ -4,7 +4,6 @@
import com.lenis0012.bukkit.marriage2.Marriage;
import com.lenis0012.pluginutils.PluginHolder;
import com.lenis0012.pluginutils.modules.configuration.ConfigurationModule;
-import com.lenis0012.pluginutils.modules.packets.PacketModule;
import java.io.File;
import java.lang.reflect.Method;
@@ -22,8 +21,7 @@ public static Marriage getCore() {
private final List[] methods = new List[Register.Type.values().length];
public MarriagePlugin() {
- super(PacketModule.class,
- ConfigurationModule.class);
+ super(ConfigurationModule.class);
core = new MarriageCore(this);
//Scan methods
diff --git a/src/main/java/com/lenis0012/bukkit/marriage2/internal/data/DataManager.java b/src/main/java/com/lenis0012/bukkit/marriage2/internal/data/DataManager.java
index 1044fc4..e0b4c00 100644
--- a/src/main/java/com/lenis0012/bukkit/marriage2/internal/data/DataManager.java
+++ b/src/main/java/com/lenis0012/bukkit/marriage2/internal/data/DataManager.java
@@ -87,7 +87,9 @@ public void run() {
long startTime = System.currentTimeMillis();
int purged = purge(daysInMillis, purgeMarried);
long duration = System.currentTimeMillis() - startTime;
- core.getLogger().log(Level.INFO, "Purged " + purged + " player entries in " + duration + "ms");
+ if(purged > 0) {
+ core.getLogger().log(Level.INFO, "Purged " + purged + " player entries in " + duration + "ms");
+ }
}
}, 0L, delayTime);
}
diff --git a/src/main/resources/changelog.json b/src/main/resources/changelog.json
index 26000b5..e45153a 100644
--- a/src/main/resources/changelog.json
+++ b/src/main/resources/changelog.json
@@ -1,13 +1,17 @@
{
- "version": "Marriage v2.0.19",
+ "version": "Marriage v2.0.20",
"data":
[
[
"---[ Changelog ]---",
"",
- "- Added 1.13 support",
+ "- Fixed AAC support (thanks Janmm14)",
"",
- "More updates coming soon"
+ "- Added PlotSquared v5 support (1.13+)",
+ "",
+ "- Disallow gifting to a full inventory",
+ "",
+ "Full changelog on spigotmc.org"
],
[
"====[ DONATE ]====",
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index 726233e..5165e90 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -3,8 +3,9 @@ version: ${project.version}
main: com.lenis0012.bukkit.marriage2.internal.MarriagePlugin
author: lenis0012
description: A plugin wich provides the function to start a relationship in minecraft.
-dev-url: http://dev.bukkit.org/bukkit-mods/marriage-reloaded/
+website: https://www.spigotmc.org/resources/marriage-reloaded-1-15-1-8.18998/
softdepend: [Vault, PlotSquared]
+api-version: '1.13'
commands:
marry:
description: Marriage main command.