Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2835eeaa5d | ||
|
|
1647a5dfaf | ||
|
|
3d260e82ae | ||
|
|
1fdbd064a9 | ||
|
|
94d1802b51 | ||
|
|
8604bf7b46 | ||
|
|
c21eecae11 | ||
|
|
80950aecf3 |
@@ -48,7 +48,7 @@ allprojects {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'com.willfp:eco:6.37.1'
|
compileOnly 'com.willfp:eco:6.37.1'
|
||||||
implementation 'com.willfp:libreforge:3.65.0'
|
implementation 'com.willfp:libreforge:3.67.0'
|
||||||
implementation 'org.joml:joml:1.10.4'
|
implementation 'org.joml:joml:1.10.4'
|
||||||
|
|
||||||
compileOnly 'org.jetbrains:annotations:23.0.0'
|
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.bukkit.Material
|
|||||||
import org.bukkit.Sound
|
import org.bukkit.Sound
|
||||||
import org.bukkit.entity.Player
|
import org.bukkit.entity.Player
|
||||||
import org.bukkit.inventory.ItemStack
|
import org.bukkit.inventory.ItemStack
|
||||||
import org.checkerframework.checker.units.qual.m
|
|
||||||
import kotlin.math.ceil
|
import kotlin.math.ceil
|
||||||
import kotlin.math.max
|
import kotlin.math.max
|
||||||
import kotlin.math.min
|
import kotlin.math.min
|
||||||
@@ -42,8 +41,8 @@ object PetsGUI {
|
|||||||
val bottomRightColumn = plugin.configYml.getInt("gui.pet-area.bottom-right.column")
|
val bottomRightColumn = plugin.configYml.getInt("gui.pet-area.bottom-right.column")
|
||||||
|
|
||||||
petAreaSlots.clear()
|
petAreaSlots.clear()
|
||||||
for (column in topLeftColumn..bottomRightColumn) {
|
|
||||||
for (row in topLeftRow..bottomRightRow) {
|
for (row in topLeftRow..bottomRightRow) {
|
||||||
|
for (column in topLeftColumn..bottomRightColumn) {
|
||||||
petAreaSlots.add(Pair(row, column))
|
petAreaSlots.add(Pair(row, column))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ commands:
|
|||||||
aliases:
|
aliases:
|
||||||
- pet
|
- pet
|
||||||
description: Open the pets menu
|
description: Open the pets menu
|
||||||
permission: ecopets.command.skills
|
permission: ecopets.command.pets
|
||||||
|
default: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
ecopets.*:
|
ecopets.*:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#libreforge-updater
|
#libreforge-updater
|
||||||
#Sun Jun 19 12:18:45 BST 2022
|
#Mon Jun 20 21:38:10 BST 2022
|
||||||
version=1.3.0
|
version=1.5.0
|
||||||
plugin-name=EcoPets
|
plugin-name=EcoPets
|
||||||
|
|||||||
Reference in New Issue
Block a user