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
|
||||
public void copy(List<String> attributes, Stairs blockData) {
|
||||
attributes.add(attribute + blockData.getShape().name());
|
||||
attributes.add(attribute + blockData.getShape().name().toLowerCase());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paste(Set<String> attributes, Stairs blockData) {
|
||||
for (Stairs.Shape shape : Stairs.Shape.values()) {
|
||||
if (attributes.contains(attribute + shape.name())) {
|
||||
if (attributes.contains(attribute + shape.name().toLowerCase())) {
|
||||
blockData.setShape(shape);
|
||||
return;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren