mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-01 13:24:41 +01:00
Merge pull request #6673 from IThundxr/mc1.20.1/fixSchematicNotDisappearing
Fix schematic visual not disappearing
This commit is contained in:
commit
a5c3fe63f0
1 changed files with 6 additions and 2 deletions
|
@ -314,6 +314,10 @@ public class SchematicHandler implements IGuiOverlay {
|
|||
|
||||
private boolean itemLost(Player player) {
|
||||
for (int i = 0; i < Inventory.getSelectionSize(); i++) {
|
||||
if (player.getInventory()
|
||||
.getItem(i)
|
||||
.is(activeSchematicItem.getItem()))
|
||||
continue;
|
||||
if (!ItemStack.matches(player.getInventory()
|
||||
.getItem(i), activeSchematicItem))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue