mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-20 10:22:14 +00:00
use full english for disconnect to spare eyeballs
This commit is contained in:
parent
da8d5454d4
commit
f58fa10686
|
@ -210,7 +210,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
||||||
public void onPlayerQuit(PlayerQuitEvent event)
|
public void onPlayerQuit(PlayerQuitEvent event)
|
||||||
{
|
{
|
||||||
User user = ess.getUser(event.getPlayer());
|
User user = ess.getUser(event.getPlayer());
|
||||||
if (ess.getSettings().removeGodOnDiscon())
|
if (ess.getSettings().removeGodOnDisconnect())
|
||||||
{
|
{
|
||||||
if (user.isGodModeEnabled())
|
if (user.isGodModeEnabled())
|
||||||
{
|
{
|
||||||
|
|
|
@ -391,9 +391,9 @@ public class Settings implements IConf
|
||||||
return config.getBoolean("economy-log-enabled", false);
|
return config.getBoolean("economy-log-enabled", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean removeGodOnDiscon()
|
boolean removeGodOnDisconnect()
|
||||||
{
|
{
|
||||||
return config.getBoolean("remove-god-on-discon", false);
|
return config.getBoolean("remove-god-on-disconnect", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -192,7 +192,7 @@ debug: false
|
||||||
#locale: de_DE
|
#locale: de_DE
|
||||||
|
|
||||||
#turn off god mode when people exit
|
#turn off god mode when people exit
|
||||||
remove-god-on-discon: false
|
remove-god-on-disconnect: false
|
||||||
############################################################
|
############################################################
|
||||||
# +------------------------------------------------------+ #
|
# +------------------------------------------------------+ #
|
||||||
# | EssentialsHome | #
|
# | EssentialsHome | #
|
||||||
|
|
Loading…
Reference in a new issue