|
|
@ -309,9 +309,8 @@ public enum PowersManager { |
|
|
|
case 429428796: |
|
|
|
case 429428796: |
|
|
|
case 1514898036: |
|
|
|
case 1514898036: |
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff"); |
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff"); |
|
|
|
//refund stamina
|
|
|
|
//resync stamina
|
|
|
|
float amount = playerCharacter.getStamina() + pb.getCost(msg.getNumTrains()); |
|
|
|
playerCharacter.setStamina(playerCharacter.getStamina(), playerCharacter); |
|
|
|
playerCharacter.setStamina(amount, playerCharacter); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Update all surrounding clients.
|
|
|
|
// Update all surrounding clients.
|
|
|
|
TargetedActionMsg cmm = new TargetedActionMsg(playerCharacter); |
|
|
|
TargetedActionMsg cmm = new TargetedActionMsg(playerCharacter); |
|
|
|