geforkt von Mirrors/FastAsyncWorldEdit
Temporarily removed plotsquard replaceall.
Poorly written and there is code in there that I may break in a future commit.
Dieser Commit ist enthalten in:
Ursprung
e6f2e17bdf
Commit
bf5d2c2788
@ -33,7 +33,6 @@ public class PlotSquaredFeature extends FaweMaskManager {
|
|||||||
public PlotSquaredFeature() {
|
public PlotSquaredFeature() {
|
||||||
super("PlotSquared");
|
super("PlotSquared");
|
||||||
Fawe.debug("Optimizing PlotSquared");
|
Fawe.debug("Optimizing PlotSquared");
|
||||||
// PlotSquared.get().worldedit = null;
|
|
||||||
setupBlockQueue();
|
setupBlockQueue();
|
||||||
setupSchematicHandler();
|
setupSchematicHandler();
|
||||||
setupChunkManager();
|
setupChunkManager();
|
||||||
@ -43,15 +42,16 @@ public class PlotSquaredFeature extends FaweMaskManager {
|
|||||||
if (MainCommand.getInstance().getCommand("generatebiome") == null) {
|
if (MainCommand.getInstance().getCommand("generatebiome") == null) {
|
||||||
new PlotSetBiome();
|
new PlotSetBiome();
|
||||||
}
|
}
|
||||||
|
// TODO: revisit this later on
|
||||||
|
/*
|
||||||
try {
|
try {
|
||||||
// new MoveTo512();
|
|
||||||
if (Settings.Enabled_Components.WORLDS) {
|
if (Settings.Enabled_Components.WORLDS) {
|
||||||
new ReplaceAll();
|
new ReplaceAll();
|
||||||
// new CFIRedirect();
|
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
Fawe.debug("You need to update PlotSquared to access the CFI and REPLACEALL commands");
|
Fawe.debug("You need to update PlotSquared to access the CFI and REPLACEALL commands");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getName(UUID uuid) {
|
public static String getName(UUID uuid) {
|
||||||
@ -114,7 +114,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (regions == null || regions.size() == 0) {
|
if (regions.size() == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
PlotArea area = pp.getApplicablePlotArea();
|
PlotArea area = pp.getApplicablePlotArea();
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/*
|
||||||
package com.boydti.fawe.regions.general.plot;
|
package com.boydti.fawe.regions.general.plot;
|
||||||
|
|
||||||
import com.boydti.fawe.object.FawePlayer;
|
import com.boydti.fawe.object.FawePlayer;
|
||||||
@ -45,12 +46,7 @@ public class ReplaceAll extends Command {
|
|||||||
plot.addRunning();
|
plot.addRunning();
|
||||||
FawePlayer<Object> fp = FawePlayer.wrap(player.getName());
|
FawePlayer<Object> fp = FawePlayer.wrap(player.getName());
|
||||||
Captions.TASK_START.send(player);
|
Captions.TASK_START.send(player);
|
||||||
TaskManager.IMP.async(new Runnable() {
|
TaskManager.IMP.async(() -> fp.runAction(() -> {
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
fp.runAction(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
String worldName = plot.getWorldName();
|
String worldName = plot.getWorldName();
|
||||||
TaskManager.IMP.sync(new RunnableVal<Object>() {
|
TaskManager.IMP.sync(new RunnableVal<Object>() {
|
||||||
@Override
|
@Override
|
||||||
@ -69,13 +65,11 @@ public class ReplaceAll extends Command {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
plot.removeRunning();
|
plot.removeRunning();
|
||||||
}
|
}, true, false));
|
||||||
}, true, false);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
player.sendMessage("Must have the `worlds` component enabled in the PlotSquared config.yml");
|
player.sendMessage("Must have the `worlds` component enabled in the PlotSquared config.yml");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren