Unnamed
public text v1 · immutable public void InvoFix(Player player){
int TempInvo[][] = new int [30][3]
int slot = 0;
for(int i = 0; i < 30; i++){
if(Inventory[i][0] != 0){
TempInvo[slot][0] = player.Inventory[i][0];
TempInvo[slot][1] = player.Inventory[i][1];
slot++;
}
}
for(int x = 0; x < 30; i++){
if(slot != 0){
player.Inventory[x][0] = TempInvo[x][0];
player.Inventory[x][1] = TempInvo[x][1];
slot--;
}
}
}