stargate-rewritten / Stargate-Bukkit

The original, and still the best, survival-friendly portal plugin.
https://sgrewritten.org/paper
GNU Lesser General Public License v3.0
33 stars 12 forks source link

When the destination portal is `F` and the setting charge free destination is disabled, an error message fails to print #374

Closed Thorinwasher closed 5 months ago

Thorinwasher commented 5 months ago

When caused by CHARGE_FREE_DESTINATION, ecoInsolvent fails to print.

  1. Make a free portal.
  2. Go through it as a bankrupt non-exempt non-owner user.
  3. Return through another, non-free, portal as the same bankrupt non-exempt non-owner user while CHARGE_FREE_DESTINATION is false.

    The user will go through as expected.

  4. Toggle CHARGE_FREE_DESTINATION and repeat.

    The user will be unable to go through (they are bankrupt), but will not be told why (ecoInsolvent fails to print)

Originally posted by @Pheotis in https://github.com/stargate-rewritten/Stargate-Bukkit/issues/352#issuecomment-2148569369