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

@@ -109,9 +109,6 @@ public final class Channel {
private final MonitoredReentrantReadWriteLock merchantLock = new MonitoredReentrantReadWriteLock(MonitoredLockType.MERCHANT, true);
private final MonitoredReadLock merchRlock = MonitoredReadLockFactory.createLock(merchantLock);
private final MonitoredWriteLock merchWlock = MonitoredWriteLockFactory.createLock(merchantLock);
private final MonitoredReentrantLock[] faceLock = new MonitoredReentrantLock[YamlConfig.config.server.CHANNEL_LOCKS];
private MonitoredReentrantLock lock = MonitoredReentrantLockFactory.createLock(MonitoredLockType.CHANNEL, true);
public Channel(final int world, final int channel, long startTime) {
@@ -224,10 +221,6 @@ public final class Channel {
}
private void emptyLocks() {
for (int i = 0; i < YamlConfig.config.server.CHANNEL_LOCKS; i++) {
faceLock[i] = faceLock[i].dispose();
}
lock = lock.dispose();
}