cast while flying

This commit is contained in:
2024-09-10 17:00:28 -05:00
parent 4a63222318
commit bbdb6ae1f6
+1 -1
View File
@@ -310,7 +310,7 @@ public enum PowersManager {
case 1514898036:
ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff");
//refund stamina
float amount = playerCharacter.getStamina() + pb.cost;
float amount = playerCharacter.getStamina() + pb.getCost(msg.getNumTrains());
playerCharacter.setStamina(amount, playerCharacter);
// Update all surrounding clients.