Skip to content

Commit

Permalink
feat: 1.20.4 지원 -> crafter3*3
Browse files Browse the repository at this point in the history
  • Loading branch information
cccgh5 committed Mar 30, 2024
1 parent 3ec8454 commit 0daa9cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class VirtualAnvilContainer(
val container = containerService.wrap(player)

val containerType = VirtualContainerType.getType(InventoryType.ANVIL, 3) ?: return null
val virtualContainerType = containerType.getVirtualType(containersClass, reflectionWrapper.getVersion().ordinal >= Version.V_20_4.ordinal)
val virtualContainerType = containerType.getVirtualType(containersClass, reflectionWrapper.getFullVersion().ordinal >= Version.V_20_4.ordinal)

val constructor = packetClass.java.getConstructor(
Int::class.javaPrimitiveType,
Expand Down

0 comments on commit 0daa9cc

Please sign in to comment.