Browse Source

Clarity fix in instance variable ordering.

master
MagicBot 2 years ago
parent
commit
fb15ee912b
  1. 6
      src/engine/objects/BootySetEntry.java
  2. 4
      src/engine/objects/EquipmentSetEntry.java

6
src/engine/objects/BootySetEntry.java

@ -14,16 +14,16 @@ import java.sql.SQLException; @@ -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"));
}
}

4
src/engine/objects/EquipmentSetEntry.java

@ -14,16 +14,16 @@ import java.sql.SQLException; @@ -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"));
}
}

Loading…
Cancel
Save