Forgot class paths, remove things lombok covers, and optimize imports

This commit is contained in:
ZeroEpoch1969
2018-07-31 00:01:29 -07:00
parent 1f9078b702
commit 2716e2500b
126 changed files with 285 additions and 630 deletions

View File

@ -1,6 +1,5 @@
package me.totalfreedom.totalfreedommod.rollback;
import me.totalfreedom.totalfreedommod.util.DepreciationAggregator;
import me.totalfreedom.totalfreedommod.util.FLog;
import org.bukkit.Bukkit;
import org.bukkit.Location;
@ -26,7 +25,7 @@ public class RollbackEntry
final Location location = block.getLocation();
this.x = location.getBlockX();
this.y = (short) location.getBlockY();
this.y = (short)location.getBlockY();
this.z = location.getBlockZ();
this.worldName = location.getWorld().getName();
this.author = author;
@ -49,7 +48,7 @@ public class RollbackEntry
{
try
{
return new Location(Bukkit.getWorld(worldName), x, (int) y, z);
return new Location(Bukkit.getWorld(worldName), x, (int)y, z);
}
catch (Exception ex)
{

View File

@ -2,11 +2,7 @@ package me.totalfreedom.totalfreedommod.rollback;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.*;
import me.totalfreedom.totalfreedommod.FreedomService;
import me.totalfreedom.totalfreedommod.TotalFreedomMod;
import me.totalfreedom.totalfreedommod.util.DepreciationAggregator;
@ -200,7 +196,7 @@ public class RollbackManager extends FreedomService
public List<RollbackEntry> getEntriesAtLocation(final Location location)
{
final int testX = location.getBlockX();
final short testY = (short) location.getBlockY();
final short testY = (short)location.getBlockY();
final int testZ = location.getBlockZ();
final String testWorldName = location.getWorld().getName();