killing all a players pets

Discussion in 'Plugin Development' started by welsar55, Feb 8, 2013.

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

    welsar55

    how would i kill all of one players pets?
     
  2. Offline

    stirante

    I think you'd have to iterate thorugh all entities, becouse owner name is saved in pet, not in player.
     
  3. Offline

    RealDope

    Or, save a HashMap<String, Entity[]) and add to the list of entities under that players name with TameEvent or something like that.
     
Thread Status:
Not open for further replies.

Share This Page