Skip to content

Commit

Permalink
Update PlayerMenuGui.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy563 authored Aug 7, 2024
1 parent c127430 commit 99ef4c8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import com.samjakob.spigui.buttons.SGButton;
import com.samjakob.spigui.item.ItemBuilder;
import java.util.ArrayList;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.entity.Player;
import os.arcadiadevs.playerservers.hubcore.PsHubCore;
import os.arcadiadevs.playerservers.hubcore.enums.PowerAction;
Expand Down Expand Up @@ -40,7 +42,7 @@ public static void openGui(Player player) {
for (int i = 0; i < 9 * 4; i++) {
menu.setButton(
i,
new SGButton(new ItemBuilder(XMaterial.GRAY_STAINED_GLASS_PANE.parseItem()).build())
new SGButton(new ItemBuilder(new ItemStack(Material.GRAY_STAINED_GLASS_PANE)).build())
);
}

Expand Down

0 comments on commit 99ef4c8

Please sign in to comment.