Civcraft / NameLayer

Do not open issues here; open them on the maintained fork @ DevotedMC
https://github.com/DevotedMC/NameLayer
BSD 3-Clause "New" or "Revised" License
4 stars 14 forks source link

Prompt Bleedthrough #202

Closed ProgrammerDan closed 8 years ago

ProgrammerDan commented 8 years ago

image

and

image

Basically if you "cancel" the prior prompt, the next prompt does whatever the prior prompt was asking to do...

ProgrammerDan commented 8 years ago

Longer first example:

image

Maxopoly commented 8 years ago

Ah yeah, nice catch. The Dialog API I made assumes you only have one dialog open at a time, but the underlying Bukkit stuff allows you to have multiple ones queued up and I forgot to close the existing one if a new one is opened.

Should be fixed by https://github.com/Civcraft/CivModCore/commit/a32702eae924b0e050b976da401f70f81fbf2d04