mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 16:09:44 +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 {
|
||||
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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue