Thread: Update 4.0
View Single Post
04/30/18, 01:17 PM   #32
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,568
I tried to update Circonian's LibNotifications and noticed that NOTIFICATION_TYPE_GIFT is not defined, but is used in notifications_gamepad.lua and notifications_keyboard.lua. Not sure why it doesn't throw a lua error there, but when I copy the table into LibNotifications, it does exactly that:
Code:
user:/AddOns/LibNotification/LibNotification/LibNotification.lua:25: table index is nil
stack traceback:
    user:/AddOns/LibNotification/LibNotification/LibNotification.lua:25: in function '(main chunk)'
@Chip is this entry unused and should be removed, or is the constant just missing? And could you please make these tables global? The lib breaks on almost every update because it relies on the data in these two files.
  Reply With Quote