Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elytras get damaged and break in creative mode while flying with them #2

Open
theaddonn opened this issue Nov 21, 2023 · 0 comments
Open

Comments

@theaddonn
Copy link

🐞 I found a bug | 我找到个BUG

📝 Bug Description | BUG描述

When wearing a elytra in creative mode and flying around with it the elytra gets damaged

🔍 Steps to Reproduce | 复现方法

Steps to reproduce the behavior / 复现方法:

simply fly around in creative wearing a elytra and see how it gets damaged

✅ Expected Behavior | 预期行为

normally the elytra only gets damaged when flying with it in survival

💻 OS and versions | 操作系统和PNX版本

  • Version: 1.20.40-r1 (git-d9718364c) API version 1.0.14 for Minecraft: BE v1.20.40 (protocol version 622)
  • Java: OracleJDK
  • Java version: 17
  • Game version: Win10

💡 Possible Solution | 可能的解决方案

I think that simply checking the players gamemode before damaging the elytra would solve the problem

@theaddonn theaddonn changed the title Elytras get damaged and break in creative mode Elytras get damaged and break in creative mode while flying with them Nov 21, 2023
Draglis referenced this issue in Draglis/PowerNukkitX Jan 4, 2024
* refactor: Improve GrindstoneInventory updateResult
* add ObjectBigMushroom and fix BlockMushroom
* Cleanup PluginManager
CoolLoong referenced this issue in PowerNukkitX/PowerNukkitX Jan 5, 2024
* * clean up events

* * fix: elytra getDamaged in creative (#1420)
* refactor: Improve GrindstoneInventory updateResult
* add ObjectBigMushroom and fix BlockMushroom
* Cleanup PluginManager

* Revert "* clean up events"

This reverts commit 7cdd56e.

* * remove lombok from PluginManager
* revert GrindstoneInventory Changes
@CoolLoong CoolLoong transferred this issue from PowerNukkitX/PowerNukkitX Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant