Closed szdytom closed 10 months ago
are you sure this is always valid? for example what about the second hand ?
The document(and the README of this repository) says .heldItem
is equivalent to .equipment[0]
, so why not to use a getter?
/makerelease
Uses getter function for
.heldItem
.related to https://github.com/PrismarineJS/mineflayer/issues/3224