cratesplitting #141
| @ -139,6 +139,7 @@ pub struct StandardDropTable { | ||||
| } | ||||
| 
 | ||||
| impl StandardDropTable { | ||||
|     #[allow(clippy::new_ret_no_self)] | ||||
|     pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> Box<dyn DropTable + Send + Sync> { | ||||
|         let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml"); | ||||
| 
 | ||||
|  | ||||
| @ -13,7 +13,7 @@ use entity::account::{NewUserAccountEntity, NewUserSettingsEntity}; | ||||
| use entity::character::NewCharacterEntity; | ||||
| use entity::item::{NewItemEntity, ItemDetail, InventoryItemEntity}; | ||||
| use entity::item; | ||||
| use drops::{DropTable, StandardDropTable}; | ||||
| use drops::StandardDropTable; | ||||
| 
 | ||||
| fn setup_logger() { | ||||
|     let colors = fern::colors::ColoredLevelConfig::new() | ||||
|  | ||||
| @ -2,7 +2,7 @@ use log::info; | ||||
| use entity::gateway::postgres::PostgresGateway; | ||||
| use elseware::ship::ship::ShipServerStateBuilder; | ||||
| use networking::interserver::AuthToken; | ||||
| use drops::{DropTable, StandardDropTable}; | ||||
| use drops::StandardDropTable; | ||||
| 
 | ||||
| fn main() { | ||||
|     let colors = fern::colors::ColoredLevelConfig::new() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user