mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-16 03:14:04 +00:00
Major command changes that don't work yet.
This commit is contained in:
@@ -318,7 +318,7 @@ public interface Extent extends InputExtent, OutputExtent {
|
||||
default boolean contains(BlockVector3 pt) {
|
||||
BlockVector3 min = getMinimumPoint();
|
||||
BlockVector3 max = getMaximumPoint();
|
||||
return (pt.containedWithin(min, max));
|
||||
return pt.containedWithin(min, max);
|
||||
}
|
||||
|
||||
default void addOre(Region region, Mask mask, Pattern material, int size, int frequency, int rarity, int minY, int maxY) throws WorldEditException {
|
||||
@@ -350,7 +350,7 @@ public interface Extent extends InputExtent, OutputExtent {
|
||||
int[] counter = new int[BlockTypes.size()];
|
||||
|
||||
for (final BlockVector3 pt : region) {
|
||||
BlockType type = getBlockType(pt);
|
||||
BlockType type = getBlock(pt).getBlockType();
|
||||
counter[type.getInternalId()]++;
|
||||
}
|
||||
List<Countable<BlockType>> distribution = new ArrayList<>();
|
||||
|
Reference in New Issue
Block a user