geforkt von Mirrors/FastAsyncWorldEdit
fix NBT in memory optimized clipboard
Dieser Commit ist enthalten in:
Ursprung
91de441403
Commit
280ade9994
@ -257,11 +257,11 @@ public class MemoryOptimizedClipboard extends LinearClipboard {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean setTile(int x, int y, int z, CompoundTag tag) {
|
public boolean setTile(int x, int y, int z, CompoundTag tag) {
|
||||||
nbtMap.put(new IntTriple(x, y, z), tag);
|
final Map<String, Tag> values = new HashMap<>(tag.getValue());
|
||||||
Map<String, Tag> values = tag.getValue();
|
|
||||||
values.put("x", new IntTag(x));
|
values.put("x", new IntTag(x));
|
||||||
values.put("y", new IntTag(y));
|
values.put("y", new IntTag(y));
|
||||||
values.put("z", new IntTag(z));
|
values.put("z", new IntTag(z));
|
||||||
|
nbtMap.put(new IntTriple(x, y, z), new CompoundTag(values));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren