예제 #1
0
파일: BlockBase.cs 프로젝트: withlin/c-raft
 public List <IItemInventory> GetLootTable()
 {
     // Todo: this is not a very nice solution i think, can we do something better?
     return(LootTable.ConvertAll(x => (IItemInventory)x));
 }
예제 #2
0
 public List<IItemStack> GetLootTable()
 {
     // Todo: this is not a very nice solution i think, can we do something better?
     return LootTable.ConvertAll(x => (IItemStack) x);
 }