add current ip if online on gtfo

This commit is contained in:
Robinson Gallego 2020-02-03 23:54:51 -05:00
parent b7c1a46cbd
commit ee8eb30a92

View File

@ -56,7 +56,8 @@ public class Command_gtfo extends FreedomCommand
{ {
final PlayerData entry = plugin.pl.getData(player); final PlayerData entry = plugin.pl.getData(player);
username = player.getName(); username = player.getName();
ips.addAll(entry.getIps()); //ips.addAll(entry.getIps());
ips.add(Ips.getIp(player));
// Deop // Deop
player.setOp(false); player.setOp(false);