mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Fix PR: Remove block storage clear
This commit is contained in:
parent
8af503aceb
commit
b6a4322de6
@ -1840,7 +1840,6 @@ public class SlimefunSetup {
|
||||
Block b = e.getBlock(); // Refactored it into this so we don't need to call e.getBlock() all the time.
|
||||
if (b.getType() != Material.SPAWNER || BlockStorage.hasBlockInfo(b)) return true;
|
||||
// If the spawner's BlockStorage has BlockInfo, then it's not a vanilla spawner and shouldn't give a broken spawner.
|
||||
BlockStorage.clearBlockInfo(b);
|
||||
ItemStack spawner = SlimefunItems.BROKEN_SPAWNER.clone();
|
||||
ItemMeta im = spawner.getItemMeta();
|
||||
List<String> lore = im.getLore();
|
||||
|
Loading…
Reference in New Issue
Block a user