mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-24 05:54:03 +00:00
add current ip if online on gtfo
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user