move bukkit-legacy module to a separate project, cleanup poms

This commit is contained in:
Luck
2018-01-08 20:01:02 +00:00
Unverified
parent f646c04d09
commit ea94bd8696
12 changed files with 139 additions and 266 deletions
@@ -242,7 +242,16 @@ public class Contexts {
}
private int calculateHashCode() {
return Objects.hash(this.context, this.op, this.includeGlobal, this.includeGlobalWorld, this.applyGroups, this.applyGlobalGroups, this.applyGlobalWorldGroups);
final int PRIME = 59;
int result = 1;
result = result * PRIME + this.context.hashCode();
result = result * PRIME + (this.op ? 79 : 97);
result = result * PRIME + (this.includeGlobal ? 79 : 97);
result = result * PRIME + (this.includeGlobalWorld ? 79 : 97);
result = result * PRIME + (this.applyGroups ? 79 : 97);
result = result * PRIME + (this.applyGlobalGroups ? 79 : 97);
result = result * PRIME + (this.applyGlobalWorldGroups ? 79 : 97);
return result;
}
@Override