From 9add0094ecc16fc4fb9d879bb567b78bf6d3ed01 Mon Sep 17 00:00:00 2001 From: Treeku Date: Mon, 16 Dec 2013 09:48:44 +0000 Subject: [PATCH] FactionService will now read from table --- src/services/gcw/FactionService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/services/gcw/FactionService.java b/src/services/gcw/FactionService.java index bd9c4414..0406f2e5 100644 --- a/src/services/gcw/FactionService.java +++ b/src/services/gcw/FactionService.java @@ -39,6 +39,7 @@ import resources.common.Opcodes; import resources.objects.creature.CreatureObject; import resources.objects.player.PlayerObject; +import engine.clientdata.StfTable; import engine.clients.Client; import engine.resources.common.CRC; import engine.resources.service.INetworkDispatch; @@ -54,7 +55,6 @@ public class FactionService implements INetworkDispatch { this.core = core; try { - /* StfTable stf = new StfTable("clientdata/string/en/faction/faction_names.stf"); for (int s = 1; s < stf.getRowCount(); s++) { @@ -64,7 +64,6 @@ public class FactionService implements INetworkDispatch { factionMap.put(faction, CRC.StringtoCRC(faction)); } } - */ } catch (Exception e) { e.printStackTrace(); }