Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
not sure how I managed to commit it like that
  • Loading branch information
mcmonkey4eva committed Mar 13, 2016
1 parent 8aa9a94 commit eba3ed6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void adjust(Mechanism mechanism) {
// -->
if (mechanism.matches("potion_effects")) {
dList data = mechanism.getValue().asType(dList.class);
String[] d1 = data.get(1).split(",");
String[] d1 = data.get(0).split(",");
PotionMeta meta = (PotionMeta)item.getItemStack().getItemMeta();
meta.setBasePotionData(new PotionData(PotionType.valueOf(d1[0].toUpperCase()),
CoreUtilities.toLowerCase(d1[2]).equals("true"),
Expand Down

0 comments on commit eba3ed6

Please sign in to comment.