mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-10-07 11:07:33 +02:00
Removes redundant approach.
https://github.com/BentoBoxWorld/BentoBox/issues/702
This commit is contained in:
parent
94e90257fa
commit
fb8e3887de
@ -50,11 +50,6 @@ import java.util.stream.Collectors;
|
||||
*/
|
||||
public class BlueprintClipboard {
|
||||
|
||||
/**
|
||||
* These are materials that should be treated as attachables even though they officially are not
|
||||
*/
|
||||
private static final List<Material> ATTACHABLES = Arrays.asList(Material.WATER, Material.LAVA,
|
||||
Material.WHEAT, Material.POTATOES, Material.CARROTS, Material.BEETROOTS, Material.SUGAR_CANE);
|
||||
private @Nullable Blueprint blueprint;
|
||||
private @Nullable Location pos1;
|
||||
private @Nullable Location pos2;
|
||||
@ -245,8 +240,7 @@ public class BlueprintClipboard {
|
||||
b.setSignLines(Arrays.asList(sign.getLines()));
|
||||
}
|
||||
// Set block data
|
||||
if (blockState.getData() instanceof Attachable
|
||||
|| ATTACHABLES.contains(blockState.getType())) {
|
||||
if (blockState.getData() instanceof Attachable) {
|
||||
// Placeholder for attachment
|
||||
bpBlocks.put(pos, new BlueprintBlock("minecraft:air"));
|
||||
bpAttachable.put(pos, b);
|
||||
|
Loading…
Reference in New Issue
Block a user