Finalized lombok removal

Finally removed all lomboks, also reduced npath complexity for FreedomCommand.FCommand#execute and removed empty constructor from Discord
This commit is contained in:
Paldiu
2020-12-29 21:37:50 -06:00
parent fd725ca6c5
commit 9352a48650
7 changed files with 95 additions and 74 deletions

View File

@ -3,7 +3,6 @@ package me.totalfreedom.totalfreedommod.fun;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import lombok.Getter;
import me.totalfreedom.totalfreedommod.FreedomService;
import me.totalfreedom.totalfreedommod.config.ConfigEntry;
import org.bukkit.GameMode;
@ -101,12 +100,8 @@ public class Landminer extends FreedomService
public static class Landmine
{
@Getter
private final Location location;
@Getter
private final Player planter;
@Getter
private final double radius;
public Landmine(Location location, Player player, double radius)
@ -121,5 +116,20 @@ public class Landminer extends FreedomService
{
return this.location.toString() + ", " + this.radius + ", " + this.planter.getName();
}
public Location getLocation()
{
return location;
}
public Player getPlanter()
{
return planter;
}
public double getRadius()
{
return radius;
}
}
}