Skip to content

Commit

Permalink
rename MenuSize to InventorySize
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevrserg committed Feb 3, 2024
1 parent 8a29d08 commit d9d1a1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ makeevrserg.java.ktarget=17
# Project
makeevrserg.project.name=AstraLibs
makeevrserg.project.group=ru.astrainteractive.astralibs
makeevrserg.project.version.string=3.0.0-alpha04
makeevrserg.project.version.string=3.0.0-alpha05
makeevrserg.project.description=Core utilities for spigot development
makeevrserg.project.developers=makeevrserg|Makeev Roman|makeevrserg@gmail.com
makeevrserg.project.url=https://empireprojekt.ru
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.bukkit.Bukkit
import org.bukkit.inventory.Inventory
import ru.astrainteractive.astralibs.menu.core.Menu
import ru.astrainteractive.astralibs.menu.event.DefaultInventoryClickEvent
import ru.astrainteractive.astralibs.menu.inventory.model.MenuSize
import ru.astrainteractive.astralibs.menu.inventory.model.InventorySize

/**
* Default menu abstract class
Expand All @@ -14,7 +14,7 @@ abstract class InventoryMenu : Menu() {
/**
* Size of inventory
*/
abstract val inventorySize: MenuSize
abstract val inventorySize: InventorySize

private val _inventory: Inventory by lazy {
Bukkit.createInventory(this, inventorySize.size, title)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ru.astrainteractive.astralibs.menu.inventory.model
/**
* Menu sizes of inventory
*/
enum class MenuSize(val size: Int) {
enum class InventorySize(val size: Int) {
/**
* Size is 9
*/
Expand Down

0 comments on commit d9d1a1f

Please sign in to comment.