TestBlockPaste-Without-Water #146
@ -67,7 +67,7 @@ public class ColorCommand extends SWCommand {
|
|||||||
try {
|
try {
|
||||||
PasteBuilder pasteBuilder = new PasteBuilder(new PasteBuilder.FileProvider(region.getResetFile(RegionType.NORMAL)))
|
PasteBuilder pasteBuilder = new PasteBuilder(new PasteBuilder.FileProvider(region.getResetFile(RegionType.NORMAL)))
|
||||||
.ignoreAir(true)
|
.ignoreAir(true)
|
||||||
.onlyColors();
|
.onlyColors(true);
|
||||||
region.reset(pasteBuilder, RegionType.NORMAL, RegionExtensionType.NORMAL);
|
region.reset(pasteBuilder, RegionType.NORMAL, RegionExtensionType.NORMAL);
|
||||||
RegionUtils.message(region, "REGION_REGION_COLORED");
|
RegionUtils.message(region, "REGION_REGION_COLORED");
|
||||||
RegionUtils.message(region, "REGION_REGION_COLORED_FAILED");
|
RegionUtils.message(region, "REGION_REGION_COLORED_FAILED");
|
||||||
|
@ -51,7 +51,7 @@ public class TestblockBauGuiItem extends BauGuiItem {
|
|||||||
public boolean click(ClickType click, Player p) {
|
public boolean click(ClickType click, Player p) {
|
||||||
if (click == ClickType.LEFT) {
|
if (click == ClickType.LEFT) {
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
testblockCommand.schematicTestblockCommand(p,null);
|
testblockCommand.schematicTestblockCommand(p);
|
||||||
} else {
|
} else {
|
||||||
SchematicSelector selector = new SchematicSelector(p, SchematicSelector.selectSchematic(), node -> {
|
SchematicSelector selector = new SchematicSelector(p, SchematicSelector.selectSchematic(), node -> {
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren