Release 2.0.20

This commit is contained in:
Lennart ten Wolde 2020-05-21 12:52:29 +02:00
parent 998f72f081
commit 1be10bb7a6
5 changed files with 14 additions and 10 deletions

View file

@ -4,10 +4,9 @@
<groupId>com.lenis0012.bukkit</groupId> <groupId>com.lenis0012.bukkit</groupId>
<artifactId>marriage2</artifactId> <artifactId>marriage2</artifactId>
<version>2.0.20-SNAPSHOT</version> <version>2.0.20</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Marriage</name> <name>Marriage</name>
<url>http://dev.bukkit.org/server-mods/marriage-reloaded/</url>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View file

@ -4,7 +4,6 @@ import com.google.common.collect.Lists;
import com.lenis0012.bukkit.marriage2.Marriage; import com.lenis0012.bukkit.marriage2.Marriage;
import com.lenis0012.pluginutils.PluginHolder; import com.lenis0012.pluginutils.PluginHolder;
import com.lenis0012.pluginutils.modules.configuration.ConfigurationModule; import com.lenis0012.pluginutils.modules.configuration.ConfigurationModule;
import com.lenis0012.pluginutils.modules.packets.PacketModule;
import java.io.File; import java.io.File;
import java.lang.reflect.Method; import java.lang.reflect.Method;
@ -22,8 +21,7 @@ public class MarriagePlugin extends PluginHolder {
private final List<Method>[] methods = new List[Register.Type.values().length]; private final List<Method>[] methods = new List[Register.Type.values().length];
public MarriagePlugin() { public MarriagePlugin() {
super(PacketModule.class, super(ConfigurationModule.class);
ConfigurationModule.class);
core = new MarriageCore(this); core = new MarriageCore(this);
//Scan methods //Scan methods

View file

@ -87,7 +87,9 @@ public class DataManager {
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();
int purged = purge(daysInMillis, purgeMarried); int purged = purge(daysInMillis, purgeMarried);
long duration = System.currentTimeMillis() - startTime; 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); }, 0L, delayTime);
} }

View file

@ -1,13 +1,17 @@
{ {
"version": "Marriage v2.0.19", "version": "Marriage v2.0.20",
"data": "data":
[ [
[ [
"---[ Changelog ]---", "---[ 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 ]====", "====[ DONATE ]====",

View file

@ -3,8 +3,9 @@ version: ${project.version}
main: com.lenis0012.bukkit.marriage2.internal.MarriagePlugin main: com.lenis0012.bukkit.marriage2.internal.MarriagePlugin
author: lenis0012 author: lenis0012
description: A plugin wich provides the function to start a relationship in minecraft. 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] softdepend: [Vault, PlotSquared]
api-version: '1.13'
commands: commands:
marry: marry:
description: Marriage main command. description: Marriage main command.