diff --git a/docs/book/19-Type-Information.md b/docs/book/19-Type-Information.md index 6fbc879..3c70fe4 100644 --- a/docs/book/19-Type-Information.md +++ b/docs/book/19-Type-Information.md @@ -1171,7 +1171,7 @@ class Part implements Supplier { private static Random rand = new Random(47); public Part get() { - int n = rand.nextint(prototypes.size()); + int n = rand.nextInt(prototypes.size()); return prototypes.get(n).get(); } }