Paper/CraftBukkit-Patches/0105-Fix-ban-expire-dates.patch

23 Zeilen
864 B
Diff

2015-05-25 14:05:40 +02:00
From 1c46986e7612da9922567b5a1486996ae48d68ad Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net>
Date: Wed, 16 Apr 2014 10:09:56 +1000
Subject: [PATCH] Fix ban expire dates.
diff --git a/src/main/java/net/minecraft/server/GameProfileBanEntry.java b/src/main/java/net/minecraft/server/GameProfileBanEntry.java
2015-02-28 12:36:22 +01:00
index e68d2b3..16fe481 100644
--- a/src/main/java/net/minecraft/server/GameProfileBanEntry.java
+++ b/src/main/java/net/minecraft/server/GameProfileBanEntry.java
2015-02-28 12:36:22 +01:00
@@ -12,7 +12,7 @@ public class GameProfileBanEntry extends ExpirableListEntry<GameProfile> {
}
public GameProfileBanEntry(GameProfile gameprofile, Date date, String s, Date date1, String s1) {
- super(gameprofile, date1, s, date1, s1);
+ super(gameprofile, date, s, date1, s1); // Spigot
}
public GameProfileBanEntry(JsonObject jsonobject) {
--
2015-05-09 22:23:26 +02:00
2.1.4