Cast to pattern

Fixes #810
Closes #817
This commit is contained in:
Jesse Boyd 2017-12-09 13:51:34 +11:00
parent 12580b52ae
commit 49d59e2021
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -1729,7 +1729,7 @@ public class EditSession extends AbstractWorld implements HasFaweQueue, Lighting
// return changes = region.getArea();
// }
// TODO fast replace
return this.replaceBlocks(region, filter, (replacement));
return this.replaceBlocks(region, filter, (Pattern) (replacement));
}