mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-24 14:33:51 +00:00
Don't add itemflags if none are present
This commit is contained in:
parent
16a496c706
commit
09af6ad186
2 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ public class MetaItemStack {
|
|||
|
||||
public void addItemFlags(final String string) throws Exception {
|
||||
String[] separate = splitPattern.split(string, 2);
|
||||
if(separate.length != 2) {
|
||||
if (separate.length != 2) {
|
||||
throw new Exception(tl("invalidItemFlagMeta", string));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue