|
|
|
@ -400,9 +400,8 @@ public class Contract extends AbstractGameObject {
@@ -400,9 +400,8 @@ public class Contract extends AbstractGameObject {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(bane.timeSet && bane.daySet && bane.capSet){ |
|
|
|
|
if(updateBaneCap > 0 || updateBaneTime > 0 || updateBaneDay > 0) { |
|
|
|
|
bane.getSiegePhase(); |
|
|
|
|
} |
|
|
|
|
for (PlayerCharacter playerCharacter : SessionManager.getAllActivePlayerCharacters()) { |
|
|
|
|
CityDataMsg cityDataMsg = new CityDataMsg(SessionManager.getSession(playerCharacter), false); |
|
|
|
|
cityDataMsg.updateMines(true); |
|
|
|
@ -410,6 +409,7 @@ public class Contract extends AbstractGameObject {
@@ -410,6 +409,7 @@ public class Contract extends AbstractGameObject {
|
|
|
|
|
Dispatch dispatch = Dispatch.borrow(playerCharacter, cityDataMsg); |
|
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return vd; |
|
|
|
|
} |
|
|
|
|