Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
b90facb7d7
Commit
fd98aa1b69
@ -38,13 +38,13 @@ public class StairsAttribute implements BlockAttribute<Stairs> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void copy(List<String> attributes, Stairs blockData) {
|
public void copy(List<String> attributes, Stairs blockData) {
|
||||||
attributes.add(attribute + blockData.getShape().name());
|
attributes.add(attribute + blockData.getShape().name().toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void paste(Set<String> attributes, Stairs blockData) {
|
public void paste(Set<String> attributes, Stairs blockData) {
|
||||||
for (Stairs.Shape shape : Stairs.Shape.values()) {
|
for (Stairs.Shape shape : Stairs.Shape.values()) {
|
||||||
if (attributes.contains(attribute + shape.name())) {
|
if (attributes.contains(attribute + shape.name().toLowerCase())) {
|
||||||
blockData.setShape(shape);
|
blockData.setShape(shape);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren