File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/main/kotlin/com/lambda
interaction/request/hotbar Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import com.lambda.interaction.request.RequestHandler
2828import com.lambda.interaction.request.hotbar.HotbarManager.checkResetSwap
2929import com.lambda.threading.runSafe
3030
31+ // FixMe: as of 1.21.5, player.mainHandStack no longer points back to the serverSlot's stack
3132object HotbarManager : RequestHandler<HotbarRequest>(
3233 1 ,
3334 TickEvent .Pre ,
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ object EnchantmentUtils {
4040 get() = ! getOrDefault(DataComponentTypes .ENCHANTMENTS , ItemEnchantmentsComponent .DEFAULT ).isEmpty
4141 || getOrDefault(DataComponentTypes .STORED_ENCHANTMENTS , ItemEnchantmentsComponent .DEFAULT ).isEmpty
4242
43+ // FixMe: doesn't work with, at least, efficiency on pickaxes
4344 /* *
4445 * Returns the given enchantment level from a [net.minecraft.item.ItemStack]
4546 */
You can’t perform that action at this time.
0 commit comments