Solved Cool down overlap

Discussion in 'Plugin Development' started by camman00, Oct 21, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    camman00

    Hello,
    I'm currently using my phone so I can't post the code. Anyways, I'm having a problem with my inventory. I had one cool down on it before and only one item. Everything worked fine until I added another item. So what's happening is if the player selects kit 1 it registers the cool down to both kits even though the player did not select kit 2. I'm using HashMaps for the cool downs. Each HashMap is defined as its own.

    Thanks for y'all help
     
  2. Offline

    mine-care

    @camman00 When you reach your computer, please show us your code, there are many ways you could have implemented this thus i dont want to spend time sugesting possible solutions because they depend on the way you implemented it on code.
     
  3. Offline

    camman00

    R.I.P me on a camping trip will not be back for 1 day :(

    Even though I'm away I think I know my problem and how to solve it, I might have put the line where you put the player in the cool down in the wrong spot.
    Marking as solved.
     
    Last edited: Oct 21, 2015
Thread Status:
Not open for further replies.

Share This Page