Skip to content

Commit 0b05ede

Browse files
Add 1.21.11 compatibility and update version to Hotfix 6
1 parent 8dc2ed8 commit 0b05ede

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

TradeSystem-Bundle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TradeSystem</artifactId>
77
<groupId>de.codingair</groupId>
8-
<version>2.6.3_Hotfix-5</version>
8+
<version>2.6.3_Hotfix-6</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

TradeSystem-Packets/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TradeSystem</artifactId>
77
<groupId>de.codingair</groupId>
8-
<version>2.6.3_Hotfix-5</version>
8+
<version>2.6.3_Hotfix-6</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

TradeSystem-Spigot/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TradeSystem</artifactId>
77
<groupId>de.codingair</groupId>
8-
<version>2.6.3_Hotfix-5</version>
8+
<version>2.6.3_Hotfix-6</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/utils/EntityItemUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
import de.codingair.codingapi.server.reflections.IReflection;
44
import de.codingair.codingapi.server.reflections.PacketUtils;
5+
import de.codingair.codingapi.server.specification.Version;
56
import org.bukkit.Location;
67
import org.bukkit.entity.Item;
78
import org.bukkit.inventory.ItemStack;
89
import org.jetbrains.annotations.NotNull;
910

1011
public class EntityItemUtils {
11-
private static final Class<?> ENTITY_ITEM_CLASS = IReflection.getClass(IReflection.ServerPacket.MINECRAFT_PACKAGE("net.minecraft.world.entity.item"), "EntityItem");
12+
private static final Class<?> ENTITY_ITEM_CLASS = IReflection.getClass(IReflection.ServerPacket.MINECRAFT_PACKAGE("net.minecraft.world.entity.item"), Version.choose("EntityItem", 21.11, "ItemEntity"));
1213
private static final IReflection.ConstructorAccessor ENTITY_ITEM = IReflection.getConstructor(ENTITY_ITEM_CLASS, PacketUtils.WorldClass, double.class, double.class, double.class, PacketUtils.ItemStackClass);
1314

1415
@NotNull

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.codingair</groupId>
88
<artifactId>TradeSystem</artifactId>
9-
<version>2.6.3_Hotfix-5</version>
9+
<version>2.6.3_Hotfix-6</version>
1010
<packaging>pom</packaging>
1111

1212
<modules>
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>com.github.CodingAir</groupId>
3636
<artifactId>CodingAPI</artifactId>
37-
<version>1.97-Experimental4</version>
37+
<version>1.99</version>
3838
<scope>provided</scope>
3939
</dependency>
4040
<dependency>

0 commit comments

Comments
 (0)