Skip to content

Commit fe6ae19

Browse files
committed
Added camera easing info
1 parent 3de01b7 commit fe6ae19

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PowerCamera/src/nl/svenar/powercamera/commands/cmd_info.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ public boolean onCommand(CommandSender sender, Command cmd, String commandLabel,
3535
for (String raw_point : camera_points) {
3636
index++;
3737

38-
String type = raw_point.split(":", 2)[0];
39-
String point = raw_point.split(":", 2)[1];
38+
String type = raw_point.split(":", 3)[0];
39+
String easing = raw_point.split(":", 3)[1];
40+
String point = raw_point.split(":", 3)[2];
4041

4142
String point_info = "";
4243
point_info += "#" + index + " ";
43-
point_info += type + ": ";
44+
point_info += type + " (" + easing + "): ";
4445

4546
if (type.equalsIgnoreCase("location")) {
4647
Location point_location = Util.deserializeLocation(point);

0 commit comments

Comments
 (0)