mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-12 05:08:48 +00:00
Try to speed up teleport events.
This commit is contained in:
parent
90d2451ce2
commit
8b9ff2c58a
|
@ -384,6 +384,7 @@ public class Settings implements ISettings
|
|||
enabledSigns = _getEnabledSigns();
|
||||
teleportInvulnerability = _isTeleportInvulnerability();
|
||||
disableItemPickupWhileAfk = _getDisableItemPickupWhileAfk();
|
||||
registerBackInListener = _registerBackInListener();
|
||||
itemSpawnBl = _getItemSpawnBlacklist();
|
||||
kits = _getKits();
|
||||
chatFormats.clear();
|
||||
|
@ -691,11 +692,19 @@ public class Settings implements ISettings
|
|||
return config.getBoolean("world-teleport-permissions", false);
|
||||
}
|
||||
|
||||
private boolean registerBackInListener;
|
||||
|
||||
@Override
|
||||
public boolean registerBackInListener()
|
||||
{
|
||||
return registerBackInListener;
|
||||
}
|
||||
|
||||
private boolean _registerBackInListener()
|
||||
{
|
||||
return config.getBoolean("register-back-in-listener", false);
|
||||
}
|
||||
|
||||
private boolean disableItemPickupWhileAfk;
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue