Remove FaceExpressionService

Face expressions are automatically defaulted back after 5 seconds by the client, anyway
This commit is contained in:
P0nk
2022-08-11 11:32:15 +02:00
parent 381851e95e
commit c7af125afc
5 changed files with 3 additions and 140 deletions

View File

@@ -47,7 +47,6 @@ import net.server.audit.locks.factory.MonitoredReentrantLockFactory;
import net.server.audit.locks.factory.MonitoredWriteLockFactory;
import net.server.channel.Channel;
import net.server.coordinator.world.MonsterAggroCoordinator;
import net.server.services.task.channel.FaceExpressionService;
import net.server.services.task.channel.MobMistService;
import net.server.services.task.channel.OverallService;
import net.server.services.type.ChannelServices;
@@ -2677,9 +2676,6 @@ public class MapleMap {
public void removePlayer(Character chr) {
Channel cserv = chr.getClient().getChannelServer();
FaceExpressionService service = (FaceExpressionService) this.getChannelServer().getServiceAccess(ChannelServices.FACE_EXPRESSION);
service.unregisterFaceExpression(mapid, chr);
chr.unregisterChairBuff();
Party party = chr.getParty();