Is there anyway to keep potion effects when you die

Discussion in 'Plugin Development' started by NoU_X2, Jul 14, 2020.

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

    NoU_X2

    Is there some sort of code or anyway to save potion effects when you die?
     
  2. Offline

    CraftCreeper6

  3. Offline

    NoU_X2

  4. Online

    timtower Moderator Moderator

    As in save for later.
    Probably a HashMap or similar.
     
  5. Offline

    CraftCreeper6

    @NoU_X2
    HashMap that stores UUID as the key, and a List of PotionEffects as the value.
     
Thread Status:
Not open for further replies.

Share This Page