user defined not home

This commit is contained in:
Leijurv 2018-09-13 15:41:00 -07:00
parent 33a0a2a7f9
commit 924cea342b
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -240,7 +240,7 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
} }
if (msg.toLowerCase().startsWith("save")) { if (msg.toLowerCase().startsWith("save")) {
String name = msg.substring(4).trim(); String name = msg.substring(4).trim();
WorldProvider.INSTANCE.getCurrentWorld().waypoints.addWaypoint(new Waypoint(name, Waypoint.Tag.HOME, playerFeet())); WorldProvider.INSTANCE.getCurrentWorld().waypoints.addWaypoint(new Waypoint(name, Waypoint.Tag.USER, playerFeet()));
logDirect("Saved user defined tag under name '" + name + "'. Say 'goto user' to set goal, say 'list user' to list."); logDirect("Saved user defined tag under name '" + name + "'. Say 'goto user' to set goal, say 'list user' to list.");
event.cancel(); event.cancel();
return; return;