From f45688aae6f330957e5ab573cf3ebae21c0c3701 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 9 Dec 2015 11:25:00 +0100 Subject: [PATCH] Remove colliding aliases for LocationY and Yaw due to Y in TypePS. --- .../massivecore/command/type/TypePS.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/com/massivecraft/massivecore/command/type/TypePS.java b/src/com/massivecraft/massivecore/command/type/TypePS.java index 94c57eab..e878d02a 100644 --- a/src/com/massivecraft/massivecore/command/type/TypePS.java +++ b/src/com/massivecraft/massivecore/command/type/TypePS.java @@ -43,9 +43,9 @@ public class TypePS extends TypeAbstract // 34 13 79 (standard one) // pitch14.5 // worldEllador,yaw14, - // x15,y18,z8003 - // x15 y32 z99 wEllador - // x:15 y:32 z:99 w:Ellador + // lx15,ly18,lz8003 + // lx15 ly32 lz99 wEllador + // lx:15 ly:32 lz:99 w:Ellador // We get the sender ps PS senderPs = new PSBuilder().build(); @@ -136,21 +136,21 @@ public class TypePS extends TypeAbstract something = true; } - value = getValue(part, PS.NAME_SERIALIZED_LOCATIONX, PS.NAME_FULL_LOCATIONX, "x"); + value = getValue(part, PS.NAME_SERIALIZED_LOCATIONX, PS.NAME_FULL_LOCATIONX); if (value != null) { ret.locationX(TypeDouble.get().read(value, sender)); something = true; } - value = getValue(part, PS.NAME_SERIALIZED_LOCATIONY, PS.NAME_FULL_LOCATIONY, "y"); + value = getValue(part, PS.NAME_SERIALIZED_LOCATIONY, PS.NAME_FULL_LOCATIONY); if (value != null) { ret.locationY(TypeDouble.get().read(value, sender)); something = true; } - value = getValue(part, PS.NAME_SERIALIZED_LOCATIONZ, PS.NAME_FULL_LOCATIONZ, "z"); + value = getValue(part, PS.NAME_SERIALIZED_LOCATIONZ, PS.NAME_FULL_LOCATIONZ); if (value != null) { ret.locationZ(TypeDouble.get().read(value, sender));