mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Setup a legacy mapper system. The file does not exist yet.
This commit is contained in:
@ -128,11 +128,7 @@ public class BlockArrayClipboard implements Clipboard {
|
||||
Vector v = position.subtract(region.getMinimumPoint());
|
||||
BlockStateHolder block = blocks[v.getBlockX()][v.getBlockY()][v.getBlockZ()];
|
||||
if (block != null) {
|
||||
if (block instanceof BlockState) {
|
||||
return (BlockState) block;
|
||||
} else if (block instanceof BaseBlock) {
|
||||
return ((BaseBlock) block).getState();
|
||||
}
|
||||
return block.toImmutableState();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user