Finished KeepInventory Per World Settings
This commit is contained in:
1 parent
c12c93be85
commit
9ca8039268
6 files changed
+254
-12
No files matched your search
@@ -33,6 +33,28 @@ public class MainMenu {
|
||||
creeper.setItemMeta(creeperMeta);
|
||||
}
|
||||
|
||||
ItemStack scanWorlds =
|
||||
new ItemStack(
|
||||
Material.COMPASS
|
||||
);
|
||||
|
||||
ItemMeta scanMeta =
|
||||
scanWorlds.getItemMeta();
|
||||
|
||||
if (scanMeta != null) {
|
||||
scanMeta.setDisplayName("§aRescan Worlds");
|
||||
|
||||
scanMeta.setLore(java.util.List.of(
|
||||
"§7Rescan for new worlds",
|
||||
"",
|
||||
"§eClick to rescan."
|
||||
));
|
||||
|
||||
scanWorlds.setItemMeta(scanMeta);
|
||||
}
|
||||
|
||||
inventory.setItem(4, scanWorlds);
|
||||
|
||||
inventory.setItem(11, creeper);
|
||||
|
||||
ItemStack keepInventory =
|
||||
|
||||
Reference in new issue
Block a user