You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-20 07:26:18 +00:00
feat(items): construct FurnitureTextProvider after ItemManager load
This commit is contained in:
@@ -14,6 +14,7 @@ import com.eu.habbo.habbohotel.crafting.CraftingManager;
|
|||||||
import com.eu.habbo.habbohotel.guides.GuideManager;
|
import com.eu.habbo.habbohotel.guides.GuideManager;
|
||||||
import com.eu.habbo.habbohotel.guilds.GuildManager;
|
import com.eu.habbo.habbohotel.guilds.GuildManager;
|
||||||
import com.eu.habbo.habbohotel.hotelview.HotelViewManager;
|
import com.eu.habbo.habbohotel.hotelview.HotelViewManager;
|
||||||
|
import com.eu.habbo.habbohotel.items.FurnitureTextProvider;
|
||||||
import com.eu.habbo.habbohotel.items.ItemManager;
|
import com.eu.habbo.habbohotel.items.ItemManager;
|
||||||
import com.eu.habbo.habbohotel.modtool.ModToolManager;
|
import com.eu.habbo.habbohotel.modtool.ModToolManager;
|
||||||
import com.eu.habbo.habbohotel.modtool.ModToolSanctions;
|
import com.eu.habbo.habbohotel.modtool.ModToolSanctions;
|
||||||
@@ -47,6 +48,7 @@ public class GameEnvironment {
|
|||||||
private NavigatorManager navigatorManager;
|
private NavigatorManager navigatorManager;
|
||||||
private GuildManager guildManager;
|
private GuildManager guildManager;
|
||||||
private ItemManager itemManager;
|
private ItemManager itemManager;
|
||||||
|
private FurnitureTextProvider furnitureTextProvider;
|
||||||
private CatalogManager catalogManager;
|
private CatalogManager catalogManager;
|
||||||
private HotelViewManager hotelViewManager;
|
private HotelViewManager hotelViewManager;
|
||||||
private RoomManager roomManager;
|
private RoomManager roomManager;
|
||||||
@@ -79,6 +81,8 @@ public class GameEnvironment {
|
|||||||
this.hotelViewManager = new HotelViewManager();
|
this.hotelViewManager = new HotelViewManager();
|
||||||
this.itemManager = new ItemManager();
|
this.itemManager = new ItemManager();
|
||||||
this.itemManager.load();
|
this.itemManager.load();
|
||||||
|
this.furnitureTextProvider = new FurnitureTextProvider();
|
||||||
|
this.furnitureTextProvider.init();
|
||||||
this.botManager = new BotManager();
|
this.botManager = new BotManager();
|
||||||
this.petManager = new PetManager();
|
this.petManager = new PetManager();
|
||||||
this.guildManager = new GuildManager();
|
this.guildManager = new GuildManager();
|
||||||
@@ -161,6 +165,10 @@ public class GameEnvironment {
|
|||||||
return this.itemManager;
|
return this.itemManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public FurnitureTextProvider getFurnitureTextProvider() {
|
||||||
|
return this.furnitureTextProvider;
|
||||||
|
}
|
||||||
|
|
||||||
public CatalogManager getCatalogManager() {
|
public CatalogManager getCatalogManager() {
|
||||||
return this.catalogManager;
|
return this.catalogManager;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user