Waypoint hashcode + removed one unused line from followcommand

This commit is contained in:
Logan Darklock
2019-08-31 18:52:24 -07:00
parent 6ed86cb3c7
commit 8fc80a285c
2 changed files with 1 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ public class Waypoint implements IWaypoint {
@Override
public int hashCode() {
return name.hashCode() + tag.hashCode() + location.hashCode(); //lol
return name.hashCode() * tag.hashCode() * location.hashCode(); //lol
}
@Override

View File

@@ -58,7 +58,6 @@ public class FollowCommand extends Command {
if (args.hasExactlyOne()) {
baritone.getFollowProcess().follow((group = args.getEnum(FollowGroup.class)).filter);
list = null;
} else {
args.requireMin(2);