Another attempt at fixing code indentation issues

This commit is contained in:
Mads Boddum
2016-04-12 09:13:13 +02:00
parent a0193735d1
commit 86b092a72b
2 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -75,9 +75,9 @@ public final class ObjectCreator {
if (!template.endsWith(".iff"))
return null;
ObjectData attributes = (ObjectData) ClientFactory.getInfoFromFile(ClientFactory.formatToSharedFile(template), true);
if(attributes == null)
return null;
GameObjectType type = GameObjectType.getTypeFromId((Integer) attributes.getAttribute(ObjectDataAttribute.GAME_OBJECT_TYPE));
if(attributes == null)
return null;
GameObjectType type = GameObjectType.getTypeFromId((Integer) attributes.getAttribute(ObjectDataAttribute.GAME_OBJECT_TYPE));
SWGObject obj = createObjectFromType(objectId, template, type);
if (obj == null)
return null;