I've created an health potion to test out the consumable items functionality but when I click to use the healthpotion I get the following error from item.vue
Uncaught TypeError: this.$rpgSocket is undefined - item.vue:67
The potion code is
import { Item } from '@rpgjs/database'
@Item({
name: 'Potion',
description: 'Gives 100 HP',
price: 200,
hpValue: 100,
hitRate: 1,
consumable: true
})
export class HealthPotion{};