From fb15ee912b2eb5e86e64349b3a0123282acf0256 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 31 Mar 2023 08:01:14 -0400 Subject: [PATCH] Clarity fix in instance variable ordering. --- src/engine/objects/BootySetEntry.java | 6 +++--- src/engine/objects/EquipmentSetEntry.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/objects/BootySetEntry.java b/src/engine/objects/BootySetEntry.java index 60aa0640..c34edeba 100644 --- a/src/engine/objects/BootySetEntry.java +++ b/src/engine/objects/BootySetEntry.java @@ -14,16 +14,16 @@ import java.sql.SQLException; public class BootySetEntry { - public float dropChance; - public int itemBase; + public int itemBase; + public float dropChance; /** * ResultSet Constructor */ public BootySetEntry(ResultSet rs) throws SQLException { - this.dropChance = (rs.getFloat("dropChance")); this.itemBase = (rs.getInt("itemBase")); + this.dropChance = (rs.getFloat("dropChance")); } } diff --git a/src/engine/objects/EquipmentSetEntry.java b/src/engine/objects/EquipmentSetEntry.java index 3ff6c706..aae0ed3d 100644 --- a/src/engine/objects/EquipmentSetEntry.java +++ b/src/engine/objects/EquipmentSetEntry.java @@ -14,16 +14,16 @@ import java.sql.SQLException; public class EquipmentSetEntry { - public float dropChance; public int itemID; + public float dropChance; /** * ResultSet Constructor */ public EquipmentSetEntry(ResultSet rs) throws SQLException { - this.dropChance = (rs.getFloat("dropChance")); this.itemID = (rs.getInt("itemID")); + this.dropChance = (rs.getFloat("dropChance")); } }