Slimefun

Slimefun

3M Downloads

Reinforced Spawner <Type> bug

andris155 opened this issue ยท 4 comments

commented

Description (Required)

Reinforced Spawner Type not set if I break with Pickaxe of Containment.

Steps to reproduce the Issue (Required)

  1. Place Reinforced Spawner (Type: zombie, skeleton etc.)
  2. Break with Pickaxe of Containment.
  3. 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)

Annotation 2020-01-25 210132

Annotation 2020-01-25 210132

commented

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.

commented

I tried destroying it with normal pickaxe (not pickaxe of containment) also, and it produces the same result

commented

Was it a broken or reinforced spawner?

commented

Was it a broken or reinforced spawner?

It gives reinforced spawner with Type: Type. What I broke was a reinforced spawner since broken spawners cannot be placed.