Keep on trying i guess.

Build has a critical error where sql data is being interpreted incorrectly which is odd considering no sql changes were made.
This commit is contained in:
Paul Reilly
2023-05-03 20:38:51 -05:00
parent 618eb669b2
commit a8a2651fd9
173 changed files with 1226 additions and 1435 deletions

View File

@ -1,21 +1,16 @@
package me.totalfreedom.totalfreedommod.banning;
import com.google.common.collect.Lists;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import me.totalfreedom.totalfreedommod.config.ConfigEntry;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.util.*;
public class Ban
{
@ -168,12 +163,10 @@ public class Ban
if (!hasUsername())
{
message.append("r IP address is");
}
else if (!hasIps())
} else if (!hasIps())
{
message.append("r username is");
}
else
} else
{
message.append(" are");
}
@ -222,7 +215,7 @@ public class Ban
return false;
}
final Ban ban = (Ban)object;
final Ban ban = (Ban) object;
if (hasIps() != ban.hasIps()
|| hasUsername() != ban.hasUsername())
{