Revert "Added debug code to figure out stf error"

This reverts commit 9e2b38710f5e948f7a88c430779c10dac001b940.
This commit is contained in:
Waverunner
2014-12-12 20:27:23 -05:00
parent 879f20f0ea
commit 9f51b6d3be
+2 -7
View File
@@ -138,14 +138,9 @@ public class ObjectManager extends Manager {
private void addObjectAttributes(SWGObject obj, String template) {
ObjectData attributes = (ObjectData) clientFac.getInfoFromFile(ClientFactory.formatToSharedFile(template));
// TODO: Remove debug code when error fixed
Object objectName = attributes.getAttribute("objectName");
if (objectName != null) obj.setStf((String) objectName);
else System.err.println("objectName attribute is null in " + ClientFactory.formatToSharedFile(template));
Object detailStf = attributes.getAttribute("detailedDescription");
if (detailStf != null) obj.setDetailStf((String) detailStf);
else System.err.println("detailedDescription attributes is null in " + ClientFactory.formatToSharedFile(template));
obj.setStf((String) attributes.getAttribute("objectName"));
obj.setDetailStf((String) attributes.getAttribute("detailedDescription"));
}
private void zoneInCharacter(PlayerManager playerManager, long netId, long characterId) {