mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-02-06 07:31:21 +01:00
Fix compile
This commit is contained in:
parent
682bf051a6
commit
1eacab40ef
@ -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();
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user