Halloween server max.
CustomTagFix fix for invis armor stand on your own head.
This commit is contained in:
parent
8630a1ba4c
commit
d4900c38b1
@ -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))
|
||||
{
|
||||
|
@ -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.
Loading…
Reference in New Issue
Block a user