mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
some hasty refactoring
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
package com.sk89q.worldedit.function.mask;
|
||||
|
||||
import com.boydti.fawe.Fawe;
|
||||
import com.boydti.fawe.FaweCache;
|
||||
import com.boydti.fawe.object.collection.FastBitSet;
|
||||
import com.boydti.fawe.util.MainUtil;
|
||||
import com.boydti.fawe.util.StringMan;
|
||||
@ -147,7 +145,7 @@ public class BlockMask extends AbstractExtentMask {
|
||||
single = single && numSet == 1;
|
||||
}
|
||||
if (single)
|
||||
return new SingleBlockStateMask(getExtent(), BlockState.get(and));
|
||||
return new SingleBlockStateMask(getExtent(), BlockState.getFromInternalId(and));
|
||||
return new SingleBlockStateBitMask(getExtent(), and);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user