mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-25 12:15:53 +01:00
Fix mistranslations
This commit is contained in:
parent
b5fe89f29d
commit
3dd8d9242b
@ -218,7 +218,7 @@ public class NMS {
|
||||
|
||||
public static void look(LivingEntity bukkitEntity, float yaw, float pitch) {
|
||||
EntityLiving handle = getHandle(bukkitEntity);
|
||||
handle.yaw = handle.ay = yaw;
|
||||
handle.yaw = handle.az = yaw;
|
||||
handle.pitch = pitch;
|
||||
}
|
||||
|
||||
@ -246,7 +246,7 @@ public class NMS {
|
||||
}
|
||||
|
||||
public static void setHeadYaw(EntityLiving handle, float yaw) {
|
||||
handle.ay = yaw;
|
||||
handle.az = yaw;
|
||||
}
|
||||
|
||||
public static void setLandSpeedModifier(EntityLiving handle, float speed) {
|
||||
@ -353,8 +353,8 @@ public class NMS {
|
||||
MOVEMENT_SPEEDS.put(EntityType.PLAYER, 1F);
|
||||
MOVEMENT_SPEEDS.put(EntityType.VILLAGER, 0.3F);
|
||||
|
||||
LAND_SPEED_MODIFIER_FIELD = getField(EntityLiving.class, "bO");
|
||||
SPEED_FIELD = getField(EntityLiving.class, "bG");
|
||||
LAND_SPEED_MODIFIER_FIELD = getField(EntityLiving.class, "bP");
|
||||
SPEED_FIELD = getField(EntityLiving.class, "bH");
|
||||
NAVIGATION_WORLD_FIELD = getField(Navigation.class, "b");
|
||||
PATHFINDING_RANGE = getField(Navigation.class, "e");
|
||||
GOAL_FIELD = getField(PathfinderGoalSelector.class, "a");
|
||||
|
Loading…
Reference in New Issue
Block a user