Fix typos in isTickingWorlds API javadocs (#8382)

This commit is contained in:
Bjarne Koll 2022-09-25 02:01:17 +02:00
parent f059f8fce5
commit 614f528234

View file

@ -14,7 +14,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // Paper start + // Paper start
+ /** + /**
+ * Gets whether the worlds are being ticked right not or not. + * Gets whether the worlds are being ticked right now.
+ * + *
+ * @return true if the worlds are being ticked, false otherwise. + * @return true if the worlds are being ticked, false otherwise.
+ */ + */
@ -31,7 +31,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* getWorld(creator.name()). * getWorld(creator.name()).
+ * <p> + * <p>
+ * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend + * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend
+ * ensuring that you're not loading worlds midtick by checking {@link Bukkit#isTickingWorlds()} + * ensuring that you're not un/loading worlds midtick by checking {@link Bukkit#isTickingWorlds()}
* *
* @param creator the options to use when creating the world * @param creator the options to use when creating the world
* @return newly created or loaded world * @return newly created or loaded world
@ -41,7 +41,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* Unloads a world with the given name. * Unloads a world with the given name.
+ * <p> + * <p>
+ * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend + * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend
+ * ensuring that you're not loading worlds midtick by checking {@link Bukkit#isTickingWorlds()} + * ensuring that you're not un/loading worlds midtick by checking {@link Bukkit#isTickingWorlds()}
* *
* @param name Name of the world to unload * @param name Name of the world to unload
* @param save whether to save the chunks before unloading * @param save whether to save the chunks before unloading
@ -51,7 +51,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* Unloads the given world. * Unloads the given world.
+ * <p> + * <p>
+ * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend + * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend
+ * ensuring that you're not loading worlds midtick by checking {@link Bukkit#isTickingWorlds()} + * ensuring that you're not un/loading worlds midtick by checking {@link Bukkit#isTickingWorlds()}
* *
* @param world the world to unload * @param world the world to unload
* @param save whether to save the chunks before unloading * @param save whether to save the chunks before unloading
@ -65,7 +65,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // Paper start + // Paper start
+ /** + /**
+ * Gets whether the worlds are being ticked right not or not. + * Gets whether the worlds are being ticked right now.
+ * + *
+ * @return true if the worlds are being ticked, false otherwise. + * @return true if the worlds are being ticked, false otherwise.
+ */ + */
@ -80,7 +80,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* getWorld(creator.name()). * getWorld(creator.name()).
+ * <p> + * <p>
+ * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend + * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend
+ * ensuring that you're not loading worlds midtick by checking {@link Bukkit#isTickingWorlds()} + * ensuring that you're not un/loading worlds midtick by checking {@link Bukkit#isTickingWorlds()}
* *
* @param creator the options to use when creating the world * @param creator the options to use when creating the world
* @return newly created or loaded world * @return newly created or loaded world
@ -93,7 +93,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* Unloads a world with the given name. * Unloads a world with the given name.
+ * <p> + * <p>
+ * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend + * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend
+ * ensuring that you're not loading worlds midtick by checking {@link Bukkit#isTickingWorlds()} + * ensuring that you're not un/loading worlds midtick by checking {@link Bukkit#isTickingWorlds()}
* *
* @param name Name of the world to unload * @param name Name of the world to unload
* @param save whether to save the chunks before unloading * @param save whether to save the chunks before unloading
@ -106,7 +106,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* Unloads the given world. * Unloads the given world.
+ * <p> + * <p>
+ * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend + * Do note that un/loading worlds mid-tick may have potential side effects, we strongly recommend
+ * ensuring that you're not loading worlds midtick by checking {@link Bukkit#isTickingWorlds()} + * ensuring that you're not un/loading worlds midtick by checking {@link Bukkit#isTickingWorlds()}
* *
* @param world the world to unload * @param world the world to unload
* @param save whether to save the chunks before unloading * @param save whether to save the chunks before unloading