Skip to content

在旁观模式下可以使用长矛攻击 #859

@winter0203

Description

@winter0203

服务端版本 Leaves Version

1.21.11-154-master@a04cb95

预期的行为 Expected behavior

旁观模式下无法攻击

观测到的实际行为 Observed/Actual behavior

在旁观模式下手持长矛可以攻击玩家

复现步骤 Steps/models to reproduce

https://qfile.qq.com/q/Zzpdha30Yi

插件与数据包列表。 Plugin and Datapack List.

[22:47:52] [Server thread/INFO]: ℹ Server Plugins (36):
[22:47:52] [Server thread/INFO]: Leaves Plugins (1):
[22:47:52] [Server thread/INFO]: - ISeeYou
[22:47:52] [Server thread/INFO]: Paper Plugins (2):
[22:47:52] [Server thread/INFO]: - MiniMOTD, ToolStats
[22:47:52] [Server thread/INFO]: Bukkit Plugins (33):
[22:47:52] [Server thread/INFO]: - AQQBot, AutoUpdatePlugins, BedrockParity, BlueMap, CommandAPI, CommandWhitelist, CoreProtect, DropHead, eBackup, floodgate
[22:47:52] [Server thread/INFO]: FoxGate, Geyser-Spigot, GrimAC, GSit, Hurricane, InventoryRollbackPlus, InvSeePlusPlus, ip2region, LuckBedrock, LuckPerms
[22:47:52] [Server thread/INFO]: packetevents, PlaceholderAPI, Plan, ProtocolLib, RayTraceAntiXray, Spectator, TAB, UseTranslatedNames, ViaBackwards, ViaRewind
[22:47:52] [Server thread/INFO]: ViaRewind-Legacy-Support, ViaVersion, voicechat

更多详细信息。 The more information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highThis issue is either a gamebreaking bug or crash and needs to be addressed soonstatus: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be addedversion: 1.21.11

    Type

    No fields configured for Bug.

    Projects

    Status
    ✅ Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions