mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-05 09:54:59 +01:00
fix schematic visual not disappearing after item dropped or unfocused in hotbar
This commit is contained in:
parent
c92bbdda2d
commit
4486b16917
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…
Reference in a new issue