|
|
|
@ -285,7 +285,7 @@ public class Mine extends AbstractGameObject {
@@ -285,7 +285,7 @@ public class Mine extends AbstractGameObject {
|
|
|
|
|
|
|
|
|
|
if (mineOwnerGuild.isErrant() == false && mine.isActive == false) { |
|
|
|
|
|
|
|
|
|
int guildWOO = mineOwnerGuild.getMineTime(); |
|
|
|
|
int guildWOO = mineOwnerGuild.getNation().getMineTime(); |
|
|
|
|
LocalDateTime guildMineTime = mineOpenTime.withHour(guildWOO); |
|
|
|
|
|
|
|
|
|
if (mineOpenTime.isAfter(guildMineTime)) |
|
|
|
@ -295,7 +295,6 @@ public class Mine extends AbstractGameObject {
@@ -295,7 +295,6 @@ public class Mine extends AbstractGameObject {
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
writer.putLocalDateTime(mineOpenTime); |
|
|
|
|
writer.putLocalDateTime(mineOpenTime.plusHours(1)); |
|
|
|
|
writer.put(mine.isActive ? (byte) 0x01 : (byte) 0x00); |
|
|
|
|