mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-30 13:09:10 +01:00
Fix mistranslation of poses
This commit is contained in:
parent
153026b8bd
commit
d0e59def6b
@ -85,7 +85,10 @@ public class Poses extends Trait {
|
||||
@Override
|
||||
public void save(DataKey key) {
|
||||
key.removeKey("list");
|
||||
for (int i = 0; i < poses.size(); i++)
|
||||
key.setString("list." + String.valueOf(i), poses.get(i).stringValue());
|
||||
int i = 0;
|
||||
for (Pose pose : poses.values()) {
|
||||
key.setString("list." + i, pose.stringValue());
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user