3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 11:00:06 +01:00
Paper/CraftBukkit-Patches/0106-Fix-ban-expire-dates.patch

23 Zeilen
851 B
Diff

2015-02-26 11:40:16 +01:00
From ba72c7ba6a3dff51302d741b6ea180d7222f86bc 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
2014-11-28 02:17:45 +01:00
index a5803cc..444f26b 100644
--- a/src/main/java/net/minecraft/server/GameProfileBanEntry.java
+++ b/src/main/java/net/minecraft/server/GameProfileBanEntry.java
2014-11-28 02:17:45 +01:00
@@ -12,7 +12,7 @@ public class GameProfileBanEntry extends ExpirableListEntry {
}
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) {
--
2014-11-28 02:17:45 +01:00
2.1.0