Halloween server max.

CustomTagFix fix for invis armor stand on your own head.
This commit is contained in:
Jonathan Williams 2014-10-23 23:58:13 -07:00
parent 8630a1ba4c
commit d4900c38b1
3 changed files with 14 additions and 1 deletions

View File

@ -227,7 +227,13 @@ public class CustomTagFix extends MiniPlugin implements IPacketHandler
}
else
*/
if (attachPacket.c == owner.getEntityId())
//System.out.println(owner.getName() + " id=" + owner.getEntityId() + " recieving AttachPacket b=" + attachPacket.b + " c=" + attachPacket.c);
if (attachPacket.c == -1 && _entityMap.get(owner).containsKey(attachPacket.b))
{
verifier.bypassProcess(new PacketPlayOutEntityDestroy(_entityMap.get(owner).get(attachPacket.b)));
_entityMap.get(owner).remove(attachPacket.b);
}
else if (attachPacket.c == owner.getEntityId())
{
if (_entityMap.get(owner).containsKey(attachPacket.b))
{

View File

@ -270,6 +270,13 @@ public class ServerMonitor
else if (serversToKill > 0)
serversToKill = Math.min(serversToKill, (availableSlots - 1500) / 80);
}
else if (serverGroup.getName().equalsIgnoreCase("Halloween"))
{
if (serverGroup.getServers().size() > 250)
{
serversToAdd = 0;
}
}
while (serversToAdd > 0)
{

Binary file not shown.