Skip to content

Commit

Permalink
Release 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
lenis0012 committed May 21, 2020
1 parent 998f72f commit 1be10bb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

<groupId>com.lenis0012.bukkit</groupId>
<artifactId>marriage2</artifactId>
<version>2.0.20-SNAPSHOT</version>
<version>2.0.20</version>
<packaging>jar</packaging>
<name>Marriage</name>
<url>http://dev.bukkit.org/server-mods/marriage-reloaded/</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -22,8 +21,7 @@ public static Marriage getCore() {
private final List<Method>[] methods = new List[Register.Type.values().length];

public MarriagePlugin() {
super(PacketModule.class,
ConfigurationModule.class);
super(ConfigurationModule.class);
core = new MarriageCore(this);

//Scan methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
10 changes: 7 additions & 3 deletions src/main/resources/changelog.json
Original file line number Diff line number Diff line change
@@ -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 ]====",
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1be10bb

Please sign in to comment.