Fix compile

This commit is contained in:
Jesse Boyd 2017-03-19 01:51:43 +11:00
parent 682bf051a6
commit 1eacab40ef
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 1 additions and 13 deletions

View File

@ -18,7 +18,6 @@ import com.intellectualcrafters.plot.util.MainUtil;
import com.intellectualcrafters.plot.util.Permissions;
import com.intellectualcrafters.plot.util.StringMan;
import com.intellectualcrafters.plot.util.WorldUtil;
import com.plotsquared.bukkit.object.BukkitPlayer;
import com.plotsquared.general.commands.Command;
import com.plotsquared.general.commands.CommandDeclaration;
import com.sk89q.worldedit.EditSession;
@ -78,7 +77,7 @@ public class PlotSetBiome extends Command {
.autoQueue(false)
.checkMemory(false)
.allowedRegionsEverywhere()
.player(FawePlayer.wrap(((BukkitPlayer) player).player))
.player(FawePlayer.wrap(player.getName()))
.limitUnlimited()
.build();
long seed = PseudoRandom.random.nextLong();

View File

@ -23,7 +23,6 @@ import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.bukkit.Bukkit;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.plugin.Plugin;
@ -59,16 +58,6 @@ public class PlotTrim implements Listener {
this.ids = ((MCAChunk) originalQueue.getFaweChunk(x, z)).ids;
}
@EventHandler
public void onPlotClaim(PlayerEnterPlotEvent event) {
// Allow deletion
Plot plot = event.getPlot();
if (plot.getMeta("checkFaweTrim") == null) {
plot.setMeta("checkFaweTrim", true);
removeChunks(plot);
}
}
private Map<Long, Object> chunks = new ConcurrentHashMap<>();
private Object PRESENT = new Object();