|
|
|
@ -170,7 +170,7 @@ public enum LootManager {
@@ -170,7 +170,7 @@ public enum LootManager {
|
|
|
|
|
if (tableRow == null) |
|
|
|
|
return null; |
|
|
|
|
|
|
|
|
|
int itemUUID = tableRow.cacheID; |
|
|
|
|
int itemUUID = tableRow.templateID; |
|
|
|
|
|
|
|
|
|
if (itemUUID == 0) |
|
|
|
|
return null; |
|
|
|
@ -417,7 +417,7 @@ public enum LootManager {
@@ -417,7 +417,7 @@ public enum LootManager {
|
|
|
|
|
|
|
|
|
|
//create the item from the table, quantity is always 1
|
|
|
|
|
|
|
|
|
|
MobLoot winnings = new MobLoot(playerCharacter, ItemTemplate.templates.get(selectedItem.cacheID), 1, false); |
|
|
|
|
MobLoot winnings = new MobLoot(playerCharacter, ItemTemplate.templates.get(selectedItem.templateID), 1, false); |
|
|
|
|
|
|
|
|
|
if (winnings == null) |
|
|
|
|
return; |
|
|
|
|