Remove Item type in favor of just byte

This commit is contained in:
Marc Di Luzio 2020-06-26 23:41:36 +01:00
parent d08a15e201
commit e1bff92a56
4 changed files with 4 additions and 10 deletions

View file

@ -167,6 +167,6 @@ func TestWorld_RoverStash(t *testing.T) {
inv, err := world.RoverInventory(a)
assert.NoError(t, err, "Failed to get inventory")
assert.Equal(t, Item{Type: objects.SmallRock}, inv[0])
assert.Equal(t, objects.SmallRock, inv[0])
}