mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 11:06:29 +01:00
7b0c576798
Allows us much greater control over the Spigot portion of the code and makes us more "proper" Credit to @Dmck2b for originally passing the idea along a while back
23 lines
851 B
Diff
23 lines
851 B
Diff
From f1a2a2c1dae93dc4565435fe65a23e92451e2c19 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 84f889a..7a7bf83 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.9.1
|
|
|