Skip to content

Commit c65bade

Browse files
committed
Fix 1.7 packet rename.
1 parent 0d54dee commit c65bade

File tree

1 file changed

+2
-2
lines changed
  • common/src/main/kotlin/dev/chasem/cobblemonextras/commands

1 file changed

+2
-2
lines changed

common/src/main/kotlin/dev/chasem/cobblemonextras/commands/CompDelete.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package dev.chasem.cobblemonextras.commands
33
import com.cobblemon.mod.common.Cobblemon
44
import com.cobblemon.mod.common.Cobblemon.storage
55
import com.cobblemon.mod.common.api.storage.NoPokemonStoreException
6-
import com.cobblemon.mod.common.net.messages.client.storage.pc.SetPCBoxPokemonPacket
6+
import com.cobblemon.mod.common.net.messages.client.storage.pc.SetPCBoxPacket
77
import com.mojang.brigadier.CommandDispatcher
88
import com.mojang.brigadier.arguments.IntegerArgumentType
99
import com.mojang.brigadier.context.CommandContext
@@ -47,7 +47,7 @@ class CompDelete {
4747
ctx.source.sendSystemMessage(Component.literal("No Pokemon found in slot.").withStyle(ChatFormatting.RED))
4848
}
4949
box[slotNum] = null
50-
SetPCBoxPokemonPacket(box).sendToPlayer(otherPlayer)
50+
SetPCBoxPacket(box).sendToPlayer(otherPlayer)
5151
}
5252
} catch (e: NoPokemonStoreException) {
5353
throw RuntimeException(e)

0 commit comments

Comments
 (0)