mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 19:46:42 +00:00
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:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user