mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-07-14 00:03:01 -04:00
Revert "Added debug code to figure out stf error"
This reverts commit 9e2b38710f5e948f7a88c430779c10dac001b940.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user