From 1de9c2610b08ccf09e383c4e0713c6a6fc85a72b Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 30 Mar 2021 11:39:10 -0700 Subject: [PATCH] Readability --- .../gmail/nossr50/datatypes/player/PlayerData.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerData.java b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerData.java index 762df3bd4..6e4d30387 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerData.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerData.java @@ -313,7 +313,16 @@ public class PlayerData { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PlayerData that = (PlayerData) o; - return lastLogin == that.lastLogin && partyChatSpying == that.partyChatSpying && leaderBoardExclusion == that.leaderBoardExclusion && scoreboardTipsShown == that.scoreboardTipsShown && Objects.equal(playerName, that.playerName) && Objects.equal(playerUUID, that.playerUUID) && Objects.equal(skillLevelValues, that.skillLevelValues) && Objects.equal(skillExperienceValues, that.skillExperienceValues) && Objects.equal(abilityDeactivationTimestamps, that.abilityDeactivationTimestamps) && Objects.equal(uniquePlayerData, that.uniquePlayerData) && Objects.equal(barStateMap, that.barStateMap); + return lastLogin == that.lastLogin + && partyChatSpying == that.partyChatSpying + && leaderBoardExclusion == that.leaderBoardExclusion + && scoreboardTipsShown == that.scoreboardTipsShown + && Objects.equal(playerName, that.playerName) + && Objects.equal(playerUUID, that.playerUUID) + && Objects.equal(skillLevelValues, that.skillLevelValues) + && Objects.equal(skillExperienceValues, that.skillExperienceValues) + && Objects.equal(abilityDeactivationTimestamps, that.abilityDeactivationTimestamps) + && Objects.equal(uniquePlayerData, that.uniquePlayerData) && Objects.equal(barStateMap, that.barStateMap); } @Override