mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-13 03:13:09 -04:00
Fixed several dozen bugs as detected by FindBugs
This commit is contained in:
@@ -219,6 +219,12 @@ public class Location implements Encodable, Serializable {
|
||||
return x*x;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (!(o instanceof Location))
|
||||
return false;
|
||||
return equals((Location) o);
|
||||
}
|
||||
|
||||
public boolean equals(Location l) {
|
||||
if (terrain != l.terrain)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user