Reinforced Spawner <Type> bug
andris155 opened this issue ยท 4 comments
Description (Required)
Reinforced Spawner Type not set if I break with Pickaxe of Containment.
Steps to reproduce the Issue (Required)
- Place Reinforced Spawner (Type: zombie, skeleton etc.)
- Break with Pickaxe of Containment.
- Spawner Type not set.
Expected behavior (Required)
Spawner Type set if break.
Server Log / Error Report
Environment (Required)
- Minecraft Version: Paper 1.15.2
- Slimefun Version: vDEV - 410 (git 47b0ae5)
- CS-CoreLib Version: vDEV - 80 (git e3242c60)
This can be fixed by switching item block break events from an else if statement to just an if statement. This will cause all item block break events to always be called on slimefun blocks. This should have no effect cause other tools check if the block is a Slimefun block.
I tried destroying it with normal pickaxe (not pickaxe of containment) also, and it produces the same result