Waypoint hashcode + removed one unused line from followcommand
This commit is contained in:
parent
6ed86cb3c7
commit
8fc80a285c
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user