Mercurial > wow > wowdb-profiler
comparison Main.lua @ 439:2baf8d90d8a8
Shortened two common debug statements so as to not spam chat as much when debugging.
| author | MMOSimca <MMOSimca@gmail.com> |
|---|---|
| date | Fri, 27 Feb 2015 07:40:07 -0500 |
| parents | 0a83510474bc |
| children | a4256abd13b7 |
comparison
equal
deleted
inserted
replaced
| 438:275b6caabf6c | 439:2baf8d90d8a8 |
|---|---|
| 1292 -- EVENT HANDLERS ----------------------------------------------------- | 1292 -- EVENT HANDLERS ----------------------------------------------------- |
| 1293 | 1293 |
| 1294 -- This function (and the following function) are to stop 'HandleItemUse' from triggering when you put an item that would normally be opened into the bank, guild bank, etc. | 1294 -- This function (and the following function) are to stop 'HandleItemUse' from triggering when you put an item that would normally be opened into the bank, guild bank, etc. |
| 1295 function WDP:StopChatLootRecording(event_name) | 1295 function WDP:StopChatLootRecording(event_name) |
| 1296 if not block_chat_loot_data then | 1296 if not block_chat_loot_data then |
| 1297 Debug("%s: Detected event that will taint chat-based loot recording. Pausing data collection.", event_name) | 1297 Debug("%s: Pausing chat-based loot recording.", event_name) |
| 1298 ClearChatLootData() | 1298 ClearChatLootData() |
| 1299 block_chat_loot_data = true | 1299 block_chat_loot_data = true |
| 1300 end | 1300 end |
| 1301 end | 1301 end |
| 1302 | 1302 |
| 1303 | 1303 |
| 1304 function WDP:ResumeChatLootRecording(event_name) | 1304 function WDP:ResumeChatLootRecording(event_name) |
| 1305 if block_chat_loot_data then | 1305 if block_chat_loot_data then |
| 1306 Debug("%s: Detected event that signals the end of taint issues with chat-based loot recording. Resuming data collection.", event_name) | 1306 Debug("%s: Resuming chat-based loot recording.", event_name) |
| 1307 block_chat_loot_data = false | 1307 block_chat_loot_data = false |
| 1308 end | 1308 end |
| 1309 end | 1309 end |
| 1310 | 1310 |
| 1311 | 1311 |
