Joapple / Slimefun4

Slimefun 4 - A whole new Experience.
http://dev.bukkit.org/bukkit-plugins/slimefun
GNU General Public License v3.0
0 stars 1 forks source link

Android Duplication Glitch #1

Open Joapple opened 7 years ago

Joapple commented 7 years ago

Description

Miner androids: We found a duplication, where you place any slimefun blocks. ex: gold 24c block, auto-enchanter, auto-disenchenter, any placed blocks. Use a minerbot to mine the slimefun blocks, the blocks disapear. Open the android interface and get the vanilla block, so if used 24c gold block, there will be a Gold Block in it. Place a sand to drop on where the 24c block used to be, mine the sand, get it back AND the slimefun block. End of process: Used a 24c block got: 24c goldblock, gold block and sand isn't consumed in the process.

Server Log

No errors in logs, auto-saving every 5m with 180k + changes

Evidence / Proof

None, can take them if need be.

Environment

paperclip 1.11.2 (We try to be the latest possible) sf: 4.1.1 Cs-CoreLib: 1.5.12

Joapple commented 7 years ago

We need to find a good place to put the following: BlockStorage._integrated_removeBlockInfo(Location l, boolean destroy) where location is the gold block loc and destroy is set to true. I think this will force update the storage data and then when the player drops the sand and mines it, no extra duplicated block?

Just guessing at this point, maybe we can look into this later.