mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-24 06:23:59 +00:00
Group allowShortName check when checking if the short form version of 'splash' was used
This commit is contained in:
parent
607f1980a1
commit
2175cb8a44
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ public class MetaItemStack {
|
||||||
} else {
|
} else {
|
||||||
throw new Exception(tl("invalidPotionMeta", split[1]));
|
throw new Exception(tl("invalidPotionMeta", split[1]));
|
||||||
}
|
}
|
||||||
} else if (split[0].equalsIgnoreCase("splash") || allowShortName && split[0].equalsIgnoreCase("s")) {
|
} else if (split[0].equalsIgnoreCase("splash") || (allowShortName && split[0].equalsIgnoreCase("s"))) {
|
||||||
isSplashPotion = Boolean.valueOf(split[1]);
|
isSplashPotion = Boolean.valueOf(split[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue