diff --git a/docs/source/Tutorial.md b/docs/source/Tutorial.md index 74941be8c..de1e9fd95 100644 --- a/docs/source/Tutorial.md +++ b/docs/source/Tutorial.md @@ -432,10 +432,10 @@ our `orc` Monster, lets create some `Weapon`s: a `Sword` and an `Axe`.
~~~{.java} - String weaponOneName = builder.createString("Sword") + int weaponOneName = builder.createString("Sword") short weaponOneDamage = 3; - String weaponTwoName = builder.createString("Axe"); + int weaponTwoName = builder.createString("Axe"); short weaponTwoDamage = 5; // Use the `createWeapon()` helper function to create the weapons, since we set every field.