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>
|
<groupId>com.rsscripting</groupId>
|
||||||
<artifactId>RS-ServerAdmin</artifactId>
|
<artifactId>RS-ServerAdmin</artifactId>
|
||||||
<name>RS-ServerAdmin</name>
|
<name>RS-ServerAdmin</name>
|
||||||
<version>1.2.0</version>
|
<version>1.2.1</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
|
|||||||
@@ -15,13 +15,23 @@ public class GUIUtils {
|
|||||||
public static ItemStack createFiller() {
|
public static ItemStack createFiller() {
|
||||||
|
|
||||||
ItemStack item =
|
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) {
|
if (meta != null) {
|
||||||
meta.setDisplayName(" ");
|
|
||||||
item.setItemMeta(meta);
|
meta.setHideTooltip(
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
item.setItemMeta(
|
||||||
|
meta
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
|
|||||||
Reference in new issue
Block a user