mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Infused Magnets can no longer be placed down
This commit is contained in:
parent
6a27bfd629
commit
3a2cced5d0
@ -28,6 +28,7 @@
|
||||
* Little performance improvements
|
||||
* Bandages, Rags and Splints will no longer be consumed if your health is full and you are not on fire
|
||||
* Player Profiles (researches and stuff) are now loaded completely asynchronously
|
||||
* The Infused Magnet can no longer be placed down
|
||||
|
||||
#### Fixes
|
||||
* Fixed #1824
|
||||
|
@ -5,6 +5,7 @@ import org.bukkit.inventory.Inventory;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import io.github.thebusybiscuit.slimefun4.api.items.ItemSetting;
|
||||
import io.github.thebusybiscuit.slimefun4.implementation.items.blocks.UnplaceableBlock;
|
||||
import me.mrCookieSlime.Slimefun.Lists.RecipeType;
|
||||
import me.mrCookieSlime.Slimefun.Objects.Category;
|
||||
import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem;
|
||||
@ -18,7 +19,7 @@ import me.mrCookieSlime.Slimefun.api.SlimefunItemStack;
|
||||
* @author TheBusyBiscuit
|
||||
*
|
||||
*/
|
||||
public class InfusedMagnet extends SlimefunItem {
|
||||
public class InfusedMagnet extends UnplaceableBlock {
|
||||
|
||||
private final ItemSetting<Double> radius = new ItemSetting<>("pickup-radius", 6.0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user