diff --git a/Plugins/Mineplex.Core/src/mineplex/core/npc/Npc.java b/Plugins/Mineplex.Core/src/mineplex/core/npc/Npc.java index 93832231d..7b6a33674 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/npc/Npc.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/npc/Npc.java @@ -44,8 +44,8 @@ public class Npc getDatabaseRecord().getX(), getDatabaseRecord().getY(), getDatabaseRecord().getZ(), - Float.parseFloat(yaw.toString()), - Float.parseFloat(pitch.toString())); + yaw.floatValue(), + pitch.floatValue()); if (getDatabaseRecord().getInfo() == null) _info = null;