Roadmap - Fixed an issue with ithorians and wookiees

This commit is contained in:
Ziggeh
2014-03-03 01:50:06 +01:00
parent 274d00516d
commit 98bc964108
+2 -2
View File
@@ -566,9 +566,9 @@ public class PlayerService implements INetworkDispatch {
for (int n = 0; n < items.length; n++) {
String item = items[n];
if (wookieeItems.length > 0 && creature.getStfName().contains("wookiee")) {
if (wookieeItems[0].length() > 0 && creature.getStfName().contains("wookiee")) {
item = wookieeItems[n];
} else if (ithorianItems.length > 0 && creature.getStfName().contains("ithorian")) {
} else if (ithorianItems[0].length() > 0 && creature.getStfName().contains("ithorian")) {
item = ithorianItems[n];
}