fix entity paste location offsets

This commit is contained in:
wea_ondara
2020-07-26 19:05:32 +02:00
parent b411ea9af4
commit f24ad69f8f
2 changed files with 3 additions and 3 deletions

View File

@ -323,7 +323,7 @@ public class BlockArrayClipboard implements Clipboard {
private final float yaw, pitch;
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) {