Add option to disable jails entirely.

This commit is contained in:
md_5 2012-04-14 15:21:42 +10:00
parent 602bd5b0d4
commit 34f5c19f99
6 changed files with 30 additions and 6 deletions

View file

@ -780,4 +780,10 @@ public class Settings implements ISettings
{
return teleportInvulnerability;
}
@Override
public boolean isJailsEnabled()
{
return config.getBoolean("enable-jails", true);
}
}