mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2025-08-31 21:49:13 +00:00
22 lines
909 B
Diff
22 lines
909 B
Diff
From c634e7981794f26f99ccd393f114d92ff9ac0286 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 fa195fe56..cb47697a0 100644
|
|
--- a/src/main/java/net/minecraft/server/GameProfileBanEntry.java
|
|
+++ b/src/main/java/net/minecraft/server/GameProfileBanEntry.java
|
|
@@ -14,7 +14,7 @@ public class GameProfileBanEntry extends ExpirableListEntry<GameProfile> {
|
|
}
|
|
|
|
public GameProfileBanEntry(GameProfile gameprofile, @Nullable Date date, @Nullable String s, @Nullable Date date1, @Nullable String s1) {
|
|
- super(gameprofile, date1, s, date1, s1);
|
|
+ super(gameprofile, date, s, date1, s1); // Spigot
|
|
}
|
|
|
|
public GameProfileBanEntry(JsonObject jsonobject) {
|
|
--
|
|
2.17.1
|
|
|