geforkt von Mirrors/Paper
Fix ban expire dates.
Dieser Commit ist enthalten in:
Ursprung
90246b4c94
Commit
2c68786295
22
CraftBukkit-Patches/0141-Fix-ban-expire-dates.patch
Normale Datei
22
CraftBukkit-Patches/0141-Fix-ban-expire-dates.patch
Normale Datei
@ -0,0 +1,22 @@
|
|||||||
|
From f5257108ff38e73deca1a2c6e17d451d8412cb6d 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
|
||||||
|
index 3738b3e..4e8ffd4 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/GameProfileBanEntry.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/GameProfileBanEntry.java
|
||||||
|
@@ -13,7 +13,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) {
|
||||||
|
--
|
||||||
|
1.8.3.2
|
||||||
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren