Fixed access emulated by synthetic accessors.

This commit is contained in:
MobiusDevelopment
2021-05-26 22:54:07 +00:00
parent 965594c906
commit b129f85e5c
82 changed files with 98 additions and 98 deletions

View File

@ -32,7 +32,7 @@ public class DamageZone extends ZoneType
private final int _startTask;
private final int _reuseTask;
private volatile Future<?> _task;
protected volatile Future<?> _task;
public DamageZone(int id)
{

View File

@ -45,7 +45,7 @@ public class EffectZone extends ZoneType
boolean _enabled;
private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills;
private volatile Future<?> _task;
protected volatile Future<?> _task;
public EffectZone(int id)
{

View File

@ -72,6 +72,7 @@ public class GameClient extends ChannelInboundHandler<GameClient>
protected static final Logger LOGGER = Logger.getLogger(GameClient.class.getName());
protected static final Logger LOGGER_ACCOUNTING = Logger.getLogger("accounting");
protected PlayerInstance _player;
private final FloodProtectors _floodProtectors = new FloodProtectors(this);
private final ReentrantLock _playerLock = new ReentrantLock();
private final Crypt _crypt;
@ -79,7 +80,6 @@ public class GameClient extends ChannelInboundHandler<GameClient>
private Channel _channel;
private String _accountName;
private SessionKey _sessionId;
private PlayerInstance _player;
private final List<Integer> _charSlotMapping = new ArrayList<>();
private volatile boolean _isDetached = false;
private boolean _isAuthedGG;

View File

@ -36,7 +36,7 @@ import org.l2jmobius.gameserver.util.UnboundArrayList;
*/
public class GameTimeTaskManager
{
private static final Logger LOGGER = Logger.getLogger(GameTimeTaskManager.class.getName());
protected static final Logger LOGGER = Logger.getLogger(GameTimeTaskManager.class.getName());
public static final int TICKS_PER_SECOND = 10;
public static final int MILLIS_IN_TICK = 1000 / TICKS_PER_SECOND;
@ -50,7 +50,7 @@ public class GameTimeTaskManager
protected static TimerThread _timer;
private final ScheduledFuture<?> _timerWatcher;
private GameTimeTaskManager()
protected GameTimeTaskManager()
{
_gameStartTime = Chronos.currentTimeMillis() - 3600000; // offset so that the server starts a day begin
_gameTicks = 3600000 / MILLIS_IN_TICK; // offset so that the server starts a day begin
@ -193,7 +193,7 @@ public class GameTimeTaskManager
}
}
private class TimerWatcher implements Runnable
protected class TimerWatcher implements Runnable
{
@Override
public void run()
@ -243,7 +243,7 @@ public class GameTimeTaskManager
}
}
private class BroadcastSunState implements Runnable
protected class BroadcastSunState implements Runnable
{
@Override
public void run()