mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 02:25:57 +01:00
Trial removing setPos for perf benefits
This commit is contained in:
parent
045054c076
commit
34126ccd8f
@ -1392,7 +1392,6 @@ public class NMSImpl implements NMSBridge {
|
||||
|
||||
@Override
|
||||
public void setLocationDirectly(org.bukkit.entity.Entity entity, Location location) {
|
||||
getHandle(entity).setPos(location.getX(), location.getY(), location.getZ());
|
||||
getHandle(entity).moveTo(location.getX(), location.getY(), location.getZ(), location.getYaw(),
|
||||
location.getPitch());
|
||||
}
|
||||
|
@ -1402,7 +1402,6 @@ public class NMSImpl implements NMSBridge {
|
||||
|
||||
@Override
|
||||
public void setLocationDirectly(org.bukkit.entity.Entity entity, Location location) {
|
||||
getHandle(entity).setPos(location.getX(), location.getY(), location.getZ());
|
||||
getHandle(entity).moveTo(location.getX(), location.getY(), location.getZ(), location.getYaw(),
|
||||
location.getPitch());
|
||||
}
|
||||
|
@ -1552,7 +1552,6 @@ public class NMSImpl implements NMSBridge {
|
||||
|
||||
@Override
|
||||
public void setLocationDirectly(org.bukkit.entity.Entity entity, Location location) {
|
||||
getHandle(entity).setPos(location.getX(), location.getY(), location.getZ());
|
||||
getHandle(entity).moveTo(location.getX(), location.getY(), location.getZ(), location.getYaw(),
|
||||
location.getPitch());
|
||||
}
|
||||
|
@ -1565,7 +1565,6 @@ public class NMSImpl implements NMSBridge {
|
||||
|
||||
@Override
|
||||
public void setLocationDirectly(org.bukkit.entity.Entity entity, Location location) {
|
||||
getHandle(entity).setPos(location.getX(), location.getY(), location.getZ());
|
||||
getHandle(entity).moveTo(location.getX(), location.getY(), location.getZ(), location.getYaw(),
|
||||
location.getPitch());
|
||||
}
|
||||
|
@ -1529,7 +1529,6 @@ public class NMSImpl implements NMSBridge {
|
||||
|
||||
@Override
|
||||
public void setLocationDirectly(org.bukkit.entity.Entity entity, Location location) {
|
||||
getHandle(entity).setPos(location.getX(), location.getY(), location.getZ());
|
||||
getHandle(entity).moveTo(location.getX(), location.getY(), location.getZ(), location.getYaw(),
|
||||
location.getPitch());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user