Cannot buy from a protection shop with infinite height #60

  • New
  • Defect
Assigned to ddonofrio
  • miniluigi008 created this issue Jan 1, 2016

    What steps will reproduce the problem?

    1. Make a new protection shop, specifying the height as 0 (for infinite)
    2. Sign will show that height is infinite with infinity symbol
    3. Right-clicking does not allow you to purchase a block from the shop

    What is the expected output? What do you see instead?

    I expect to buy a block and see "you have bought a protection block", but no message is displayed in chat. It works if the height is odd (and is anything other than 0.)

    What version of the product are you using?

    Version 2.0.10

    Do you have an error log of what happened?

    There is no error log (in that sense.)

    Please provide any additional information below.

    If you have any questions and I don't respond (I've never sent a ticket through the dev.bukkit system before, please email me at [email protected]

    Also, I would fork your git and tweak it myself, but you know your code best.

    Sincerely, miniluigi008

  • miniluigi008 added the tags New Defect Jan 1, 2016
  • VoigtmanMC posted a comment Jan 31, 2016

    On a sign infinite height is 999

To post a comment, please login or register a new account.