Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.92k stars 907 forks source link

Players can get infinity items by destroying blocks in residence with Wrench #4410

Open Zhou-Shilin opened 1 year ago

Zhou-Shilin commented 1 year ago

Describe the Bug

I'm using a bukkit plugin Residence on my server. When player (who has no permission to destroy blocks in the residence) destroy blocks in the residence with wrench (create:wrench), the block won't disappear but the player get the block (item). So players can get infinity item by using this bug.

Reproduction Steps

  1. Start a server with the Residence plugin and CreateMod
  2. Create a residence with the plugin
  3. Place a block (such as Creative Motor)
  4. Use another account (has no permission to destroy blocks in the residence) destroy the block with wrench
  5. You get infinity items!!

Expected Result

Nothing happened because the player has no permission to destroy blocks in the residence

Screenshots and Videos

No.

Crash Report or Log

It didn't crash...

Operating System

Server: Windows Server 2016, Client: Any

Mod Version

0.5.0g

Minecraft Version

1.18.2

Forge Version

40.1.93

Other Mods

Plugin: Residence

Additional Context

Sorry, but my English is not very well so some sentences maybe strange :(

Dr-WeiAL commented 1 year ago

Indeed, this is a serious problem