Skip to content

Commit

Permalink
Update for shoebill-common
Browse files Browse the repository at this point in the history
  • Loading branch information
mk124 committed May 2, 2014
1 parent 6512a74 commit a1165ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/gtaun/wl/lang/LanguageServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public LanguageServiceImpl(EventManager rootEventManager)
@Override
protected void onInit()
{
contexts = new PlayerLifecycleHolder(eventManager);
contexts = new PlayerLifecycleHolder(eventManagerNode);
statistic = new LocalizedStringStatistic();

contexts.registerClass(PlayerLanguageContext.class);
Expand Down Expand Up @@ -72,7 +72,7 @@ public void setPlayerLanguage(Player player, Language lang)
{
PlayerLanguageContext context = contexts.getObject(player, PlayerLanguageContext.class);
context.setLanguage(lang);
eventManager.dispatchEvent(new PlayerChangeLanguageEvent(player, lang), player);
eventManagerNode.dispatchEvent(new PlayerChangeLanguageEvent(player, lang), player);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import net.gtaun.util.event.EventManager;
import net.gtaun.wl.common.dialog.DialogUtils;
import net.gtaun.wl.common.dialog.WlListDialog;
import net.gtaun.wl.common.dialog.WlListDialog.WlListDialogBuilder;
import net.gtaun.wl.lang.Language;
import net.gtaun.wl.lang.LanguageService;
import net.gtaun.wl.lang.LanguageService.SelectLanguageCallback;
Expand Down

0 comments on commit a1165ef

Please sign in to comment.