Prevent moving key into drawer

This commit is contained in:
cargocats committed 2025-05-24 09:48:42 -04:00
1 parent c5bb68dcb4
commit ffc36cdea9
1 file changed
+1
@@ -394,6 +394,7 @@ public class BlockDrawers extends BlockContainer implements IExtendedBlockClickH
return true;
} else if (item.getItem() == ModItems.quantifyKey) {
tileDrawers.setIsQuantified(!tileDrawers.isQuantified());
return true;
} else if (item.getItem() instanceof ItemPersonalKey) {
String securityKey = ((ItemPersonalKey) item.getItem())
.getSecurityProviderKey(item.getItemDamage());