1.2.1
Fixed: - Removed empty black squares from filler panes.
This commit is contained in:
1 parent
6abf00c2d1
commit
db36958189
2 files changed
+15
-5
No files matched your search
@@ -15,13 +15,23 @@ public class GUIUtils {
|
||||
public static ItemStack createFiller() {
|
||||
|
||||
ItemStack item =
|
||||
new ItemStack(Material.LIGHT_BLUE_STAINED_GLASS_PANE);
|
||||
new ItemStack(
|
||||
Material.LIGHT_BLUE_STAINED_GLASS_PANE
|
||||
);
|
||||
|
||||
ItemMeta meta = item.getItemMeta();
|
||||
ItemMeta meta =
|
||||
item.getItemMeta();
|
||||
|
||||
if (meta != null) {
|
||||
meta.setDisplayName(" ");
|
||||
item.setItemMeta(meta);
|
||||
|
||||
meta.setHideTooltip(
|
||||
true
|
||||
);
|
||||
|
||||
item.setItemMeta(
|
||||
meta
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
return item;
|
||||
|
||||
Reference in new issue
Block a user