Debugging isErrant()
This commit is contained in:
@@ -100,6 +100,9 @@ public class Mine extends AbstractGameObject {
|
|||||||
this.zoneName = "Unknown Mine";
|
this.zoneName = "Unknown Mine";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ownerUID == 0)
|
||||||
|
ownerUID = ownerUID - 1 + 1;
|
||||||
|
|
||||||
this.owningGuild = Guild.getGuild(ownerUID);
|
this.owningGuild = Guild.getGuild(ownerUID);
|
||||||
Guild nation = null;
|
Guild nation = null;
|
||||||
|
|
||||||
|
|||||||
@@ -102,9 +102,12 @@ public class HourlyJobThread implements Runnable {
|
|||||||
|
|
||||||
for (Mine mine : mines) {
|
for (Mine mine : mines) {
|
||||||
try {
|
try {
|
||||||
|
int foo;
|
||||||
// Open Errant Mines
|
// Open Errant Mines
|
||||||
|
|
||||||
|
if (mine.getBuildingID() == 1250)
|
||||||
|
foo = 1;
|
||||||
|
|
||||||
if (mine.getOwningGuild().isErrant()) {
|
if (mine.getOwningGuild().isErrant()) {
|
||||||
mine.handleStartMineWindow();
|
mine.handleStartMineWindow();
|
||||||
Mine.setLastChange(System.currentTimeMillis());
|
Mine.setLastChange(System.currentTimeMillis());
|
||||||
|
|||||||
Reference in New Issue
Block a user