mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 10:18:36 +00:00
Make masks more stateless
This commit is contained in:
@ -375,7 +375,7 @@ public class TextureUtil implements TextureHolder {
|
||||
for (int typeId : tu.getValidBlockIds()) {
|
||||
BlockType block = BlockTypes.get(typeId);
|
||||
extent.init(0, 0, 0, block.getDefaultState().toBaseBlock());
|
||||
if (mask.test(extent)) {
|
||||
if (mask.test(extent, extent)) {
|
||||
blocks.add(block);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user