optimization for previous check-in
This commit is contained in:
parent
3aeb961a31
commit
d28c9aa0a1
2 changed files with 6 additions and 2 deletions
|
@ -26,6 +26,11 @@ public class SchematicPortal extends SchematicBlock {
|
|||
public void writeToWorld(IBuilderContext context, int x, int y, int z) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValid(IBuilderContext context, int x, int y, int z) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postProcessing(IBuilderContext context, int x, int y, int z) {
|
||||
context.world().setBlock(x, y, z, Blocks.portal);
|
||||
|
|
|
@ -128,7 +128,6 @@ public class BptBuilderBlueprint extends BptBuilderBase {
|
|||
checkDone();
|
||||
|
||||
if (slot != null) {
|
||||
postProcessing.add(slot);
|
||||
return slot;
|
||||
}
|
||||
}
|
||||
|
@ -138,7 +137,6 @@ public class BptBuilderBlueprint extends BptBuilderBase {
|
|||
checkDone();
|
||||
|
||||
if (slot != null) {
|
||||
postProcessing.add(slot);
|
||||
return slot;
|
||||
}
|
||||
}
|
||||
|
@ -155,6 +153,7 @@ public class BptBuilderBlueprint extends BptBuilderBase {
|
|||
|
||||
while (list.size() > 0) {
|
||||
SchematicToBuild slot = list.removeFirst();
|
||||
postProcessing.add(slot);
|
||||
|
||||
boolean getNext = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue