View Single Post
04/15/19, 08:57 AM   #1
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
[open]GetCollectibleBlockReason(id) returns "not blocked" on mounts in dungeon

The API function GetCollectibleBlockReason(collectibelId) will return "not blocked" (0 -> COLLECTIBLE_USAGE_BLOCK_REASON_NOT_BLOCKED) if you are using it inside a dungeon or delve with the collectibelId of a mount.

But it should return
Code:
COLLECTIBLE_USAGE_BLOCK_REASON_BLOCKED_BY_ZONE
or
Code:
COLLECTIBLE_USAGE_BLOCK_REASON_BLOCKED_BY_SUBZONE
if you are alive.
  Reply With Quote