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
@@ -8,7 +8,7 @@
|
||||
<groupId>com.rsscripting</groupId>
|
||||
<artifactId>RS-ServerAdmin</artifactId>
|
||||
<name>RS-ServerAdmin</name>
|
||||
<version>1.2.0</version>
|
||||
<version>1.2.1</version>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
|
||||
@@ -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