Skip to content

Commit d1acc90

Browse files
committed
Update to 1.21
Update Addon to Support this pull request : Slimefun/Slimefun4#4248 We will need to change the pom.xml at the end, when there will be an update for 1.21
1 parent 8b329e9 commit d1acc90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@
106106
</dependency>
107107

108108
<dependency>
109-
<groupId>com.github.TheBusyBiscuit</groupId>
110-
<artifactId>Slimefun4</artifactId>
111-
<version>RC-27</version>
109+
<groupId>com.github.Slimefun</groupId>
110+
<artifactId>Slimefun</artifactId>
111+
<version>4.9-UNOFFICIAL</version>
112112
<scope>provided</scope>
113113
<exclusions>
114114
<exclusion>

src/main/java/io/github/thebusybiscuit/dyedbackpacks/DyedBackpacks.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void onEnable() {
3838
}
3939

4040
Research research = new Research(new NamespacedKey(this, "dyed_backpacks"), 17200, "Dyed Backpacks", 24);
41-
ItemGroup itemGroup = new ItemGroup(new NamespacedKey(this, "dyed_backpacks"), new CustomItemStack(PlayerHead.getItemStack(PlayerSkin.fromHashCode(BackpackColor.RED.getTexture())), "&4Dyed Backpacks"), 2);
41+
ItemGroup itemGroup = new ItemGroup(new NamespacedKey(this, "dyed_backpacks"), CustomItemStack.create(PlayerHead.getItemStack(PlayerSkin.fromHashCode(BackpackColor.RED.getTexture())), "&4Dyed Backpacks"), 2);
4242

4343
if (cfg.getBoolean("backpacks.small")) {
4444
createBackpacks(itemGroup, research, SlimefunItems.BACKPACK_SMALL, 9);

0 commit comments

Comments
 (0)