mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
add current ip if online on gtfo
This commit is contained in:
parent
b7c1a46cbd
commit
ee8eb30a92
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user