Fix for setting material to air.

This commit is contained in:
Brianna 2019-10-06 12:30:15 -04:00
parent de504c3d12
commit fff482d873

View File

@ -147,8 +147,8 @@ public class PreviewKitGui extends Gui {
for (String str : meta.getLore()) {
newLore.add(str.replace("{PLAYER}", player.getName()).replace("<PLAYER>", player.getName()));
}
}
meta.setLore(newLore);
}
is.setItemMeta(meta);
return is;
}