Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
fix entity paste location offsets
Dieser Commit ist enthalten in:
Ursprung
b411ea9af4
Commit
f24ad69f8f
@ -124,9 +124,9 @@ public interface IChunkExtent<T extends IChunk> extends Extent {
|
|||||||
pos = new ListTag(DoubleTag.class, posList);
|
pos = new ListTag(DoubleTag.class, posList);
|
||||||
map.put("Pos", pos);
|
map.put("Pos", pos);
|
||||||
}
|
}
|
||||||
posList.set(0, new DoubleTag(location.getX() + 0.5));
|
posList.set(0, new DoubleTag(location.getX()));
|
||||||
posList.set(1, new DoubleTag(location.getY()));
|
posList.set(1, new DoubleTag(location.getY()));
|
||||||
posList.set(2, new DoubleTag(location.getZ() + 0.5));
|
posList.set(2, new DoubleTag(location.getZ()));
|
||||||
|
|
||||||
//set new uuid
|
//set new uuid
|
||||||
UUID newuuid = UUID.randomUUID();
|
UUID newuuid = UUID.randomUUID();
|
||||||
|
@ -323,7 +323,7 @@ public class BlockArrayClipboard implements Clipboard {
|
|||||||
private final float yaw, pitch;
|
private final float yaw, pitch;
|
||||||
|
|
||||||
public ClipboardEntity(Location loc, BaseEntity entity) {
|
public ClipboardEntity(Location loc, BaseEntity entity) {
|
||||||
this((Clipboard) loc.getExtent(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ(), loc.getYaw(), loc.getPitch(), entity);
|
this((Clipboard) loc.getExtent(), loc.getX(), loc.getY(), loc.getZ(), loc.getYaw(), loc.getPitch(), entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ClipboardEntity(Clipboard clipboard, double x, double y, double z, float yaw, float pitch, BaseEntity entity) {
|
public ClipboardEntity(Clipboard clipboard, double x, double y, double z, float yaw, float pitch, BaseEntity entity) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren