geforkt von Mirrors/FastAsyncWorldEdit
Correct equality check for adding post processor
Dieser Commit ist enthalten in:
Ursprung
4182d7473c
Commit
1dd0dac462
@ -863,7 +863,7 @@ public interface Extent extends InputExtent, OutputExtent {
|
||||
}
|
||||
|
||||
default Extent addPostProcessor(IBatchProcessor processor) {
|
||||
if (processor.getScope() == ProcessorScope.READING_SET_BLOCKS) {
|
||||
if (processor.getScope() != ProcessorScope.READING_SET_BLOCKS) {
|
||||
throw new IllegalArgumentException("You cannot alter blocks in a PostProcessor");
|
||||
}
|
||||
return processor.construct(this);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren