mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Merge pull request #3733 from justtos/patch-1
[Fix] BlockPlacer placing disabled items
This commit is contained in:
commit
83e8eff6cd
@ -104,7 +104,7 @@ public class BlockPlacer extends SlimefunItem {
|
||||
|
||||
if (item != null) {
|
||||
// Check if this Item can even be placed down
|
||||
if (!(item instanceof NotPlaceable)) {
|
||||
if (!(item instanceof NotPlaceable) && !item.isDisabledIn(dispenser.getWorld())) {
|
||||
placeSlimefunBlock(item, e.getItem(), facedBlock, dispenser);
|
||||
}
|
||||
} else if (!Slimefun.getIntegrations().isCustomItem(e.getItem())) {
|
||||
|
Loading…
Reference in New Issue
Block a user