Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
javaVersion=25
mcVersion=26.1.1
group=dev.slne.surf.api
version=3.2.1
version=3.2.2
relocationPrefix=dev.slne.surf.api.libs
snapshot=false
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package dev.slne.surf.api.paper.server.nms.v26_1.bridges
import dev.slne.surf.api.paper.nms.NmsUseWithCaution
import dev.slne.surf.api.paper.nms.bridges.SurfPaperNmsItemBridge
import dev.slne.surf.api.paper.server.nms.v26_1.extensions.nms
import dev.slne.surf.api.paper.server.nms.v26_1.reflection.V26_1Reflection
import net.minecraft.core.component.DataComponentMap
import net.minecraft.core.component.DataComponents
import org.bukkit.inventory.ItemType
Expand All @@ -20,7 +19,7 @@ class V26_1SurfPaperNmsItemBridgeImpl : SurfPaperNmsItemBridge {
.set(DataComponents.MAX_STACK_SIZE, maxStackSize)
.build()


V26_1Reflection.ITEM_PROXY.setComponents(nmsItem, updatedComponents)
@Suppress("DEPRECATION")
nmsItem.builtInRegistryHolder().bindComponents(updatedComponents)
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ object V26_1Reflection {
private set
lateinit var ENTITY_PROXY: V26_1EntityProxy
private set
lateinit var ITEM_PROXY: V26_1ItemProxy
private set
lateinit var SERVER_CONNECTION_LISTENER_PROXY: V26_1ServerConnectionListenerProxy
private set
lateinit var VANILLA_ARGUMENT_PROVIDER_IMPL_PROXY: V26_1VanillaArgumentProviderImplProxy
Expand All @@ -28,7 +26,6 @@ object V26_1Reflection {

SERVER_STATS_COUNTER_PROXY = proxyFactory.reflectionProxy<V26_1ServerStatsCounterProxy>()
ENTITY_PROXY = proxyFactory.reflectionProxy<V26_1EntityProxy>()
ITEM_PROXY = proxyFactory.reflectionProxy<V26_1ItemProxy>()
SERVER_CONNECTION_LISTENER_PROXY =
proxyFactory.reflectionProxy<V26_1ServerConnectionListenerProxy>()
VANILLA_ARGUMENT_PROVIDER_IMPL_PROXY =
Expand Down
Loading