Added edge case for checking whether a player has enough money or not @
DockController.java