mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 12:02:53 +00:00
Adds pvp protection after teleport
This commit is contained in:
parent
97eed50ccc
commit
b14e7c197f
7 changed files with 44 additions and 5 deletions
|
@ -609,7 +609,7 @@ public class Settings implements ISettings
|
|||
{
|
||||
return config.getBoolean("change-displayname", true);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean changePlayerListName()
|
||||
{
|
||||
|
@ -745,4 +745,10 @@ public class Settings implements ISettings
|
|||
{
|
||||
this.metricsEnabled = metricsEnabled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getTeleportInvulnerability()
|
||||
{
|
||||
return config.getLong("teleport-invulnerability", 0) * 1000;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue