File tree 4 files changed +7
-7
lines changed
src/main/kotlin/me/tech/mcchestui/item
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ repositories {
21
21
}
22
22
23
23
dependencies {
24
- implementation(" com.github.DebitCardz:mc-chestui-plus:1.4.5 " )
24
+ implementation(" com.github.DebitCardz:mc-chestui-plus:1.4.6 " )
25
25
}
26
26
```
27
27
### Maven
@@ -34,7 +34,7 @@ dependencies {
34
34
<dependency >
35
35
<groupId >com.github.DebitCardz</groupId >
36
36
<artifactId >mc-chestui-plus</artifactId >
37
- <version >1.4.5 </version >
37
+ <version >1.4.6 </version >
38
38
</dependency >
39
39
40
40
```
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ repositories {
19
19
}
20
20
21
21
dependencies {
22
- compileOnly(" io.papermc.paper:paper-api:1.20.2 -R0.1-SNAPSHOT" )
22
+ compileOnly(" io.papermc.paper:paper-api:1.20.4 -R0.1-SNAPSHOT" )
23
23
implementation(rootProject)
24
24
}
25
25
@@ -28,7 +28,7 @@ tasks.jar {
28
28
}
29
29
30
30
tasks.withType<RunServer > {
31
- minecraftVersion(" 1.20.2 " )
31
+ minecraftVersion(" 1.20.4 " )
32
32
}
33
33
34
34
bukkit {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class GUIHeadItem : GUIItem(Material.PLAYER_HEAD) {
41
41
var skullOwner: OfflinePlayer ?
42
42
get() = itemMeta.owningPlayer
43
43
set(value) {
44
- stack .editMeta(SkullMeta ::class .java) {
44
+ itemStack .editMeta(SkullMeta ::class .java) {
45
45
it.owningPlayer = value
46
46
}
47
47
}
@@ -54,7 +54,7 @@ class GUIHeadItem : GUIItem(Material.PLAYER_HEAD) {
54
54
var playerProfile: PlayerProfile ?
55
55
get() = itemMeta.playerProfile
56
56
set(value) {
57
- stack .editMeta(SkullMeta ::class .java) {
57
+ itemStack .editMeta(SkullMeta ::class .java) {
58
58
it.playerProfile = value
59
59
}
60
60
}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ fun guiItem(
59
59
60
60
61
61
open class GUIItem constructor(
62
- private val itemStack : ItemStack
62
+ protected val itemStack : ItemStack
63
63
) {
64
64
constructor (type: Material )
65
65
: this (ItemStack (type, 1 ))
You can’t perform that action at this time.
0 commit comments