Fix chat bug, enable TablistFix for clans

This commit is contained in:
Shaun Bennett 2015-08-27 14:53:52 -07:00
parent 4567496978
commit 4f2d861b21
3 changed files with 6 additions and 5 deletions

View File

@ -199,9 +199,10 @@ public class PacketPlayOutPlayerInfo extends Packet {
public static boolean isAprilFools()
{
Calendar c = Calendar.getInstance();
// Calendar c = Calendar.getInstance();
// return true;
return c.get(Calendar.MONTH) == Calendar.APRIL && c.get(Calendar.DAY_OF_MONTH) == 1;
// return c.get(Calendar.MONTH) == Calendar.APRIL && c.get(Calendar.DAY_OF_MONTH) == 1;
return false;
}
}

View File

@ -7,6 +7,8 @@ import org.bukkit.craftbukkit.v1_7_R4.CraftWorld;
import org.bukkit.plugin.java.JavaPlugin;
import net.minecraft.server.v1_7_R4.MinecraftServer;
import mineplex.core.TablistFix;
import mineplex.core.account.CoreClientManager;
import mineplex.core.achievement.AchievementManager;
import mineplex.core.antihack.AntiHack;
@ -107,6 +109,7 @@ public class Clans extends JavaPlugin
new ObserverManager(this);
new TablistFix(this);
new MemoryFix(this);
new Explosion(this, blockRestore);
new FriendManager(this, _clientManager, preferenceManager, portal);

View File

@ -504,9 +504,6 @@ public class ClansManager extends MiniClientPlugin<ClientClan> implements IRelat
for (Player other : UtilServer.getPlayers())
{
if (other.equals(event.getPlayer()))
continue;
ClanInfo otherClan = _clanUtility.getClanByPlayer(other);
if (otherClan == null)