forked from MagicBane/Server
universal mines round 2
This commit is contained in:
@@ -73,7 +73,7 @@ public class Mine extends AbstractGameObject {
|
||||
super(rs);
|
||||
|
||||
//this.mineType = MineProduction.getByName(rs.getString("mine_type"));
|
||||
this.mineType = MineProduction.ALL;
|
||||
this.mineType = MineProduction.LUMBER;
|
||||
|
||||
int ownerUID = rs.getInt("mine_ownerUID");
|
||||
this.buildingID = rs.getInt("mine_buildingUID");
|
||||
@@ -282,7 +282,7 @@ public class Mine extends AbstractGameObject {
|
||||
for (Mine mine : serverMines) {
|
||||
Mine.mineMap.put(mine, mine.buildingID);
|
||||
Mine.towerMap.put(mine.buildingID, mine);
|
||||
mine.mineType = MineProduction.ALL;
|
||||
mine.mineType = MineProduction.LUMBER;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user