Adds pvp protection after teleport

This commit is contained in:
snowleo 2012-03-27 21:14:38 +02:00
parent 97eed50ccc
commit b14e7c197f
7 changed files with 44 additions and 5 deletions

View file

@ -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;
}
}