Skip to content

Commit

Permalink
Update potion mappings documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Jul 3, 2024
1 parent 7d34c38 commit cb79316
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@
import java.util.HashMap;
import java.util.Map;

// TODO | Check if this is correct???
public class PotionIdMappings1_8 {
public static final Map<String, String> POTION_NAME_INDEX = new HashMap<>();
public static final Map<String, Integer> POTION_NAME_TO_ID = new HashMap<>();

static {
POTION_NAME_TO_ID.putAll(PotionIdMappings1_9.POTION_NAME_TO_ID);
POTION_NAME_TO_ID.put("luck", 8203);
POTION_NAME_TO_ID.put("luck", 8203); // Map new potion to similar one (luck->leaping)

POTION_NAME_INDEX.put("water", "§rWater Bottle");
POTION_NAME_INDEX.put("mundane", "§rMundane Potion");
Expand Down

0 comments on commit cb79316

Please sign in to comment.