Fix a couple of typos (#1835)

* Fix typo in BukkitImplAdapter

* Yet another dangling typo
This commit is contained in:
NotMyFault 2021-07-14 17:08:34 +02:00 committed by GitHub
parent 954210deb8
commit 9c7f4542a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ public boolean regenerate(Region region, Extent extent, RegenOptions options) {
if (adapter != null) {
return adapter.regenerate(getWorld(), region, extent, options);
} else {
throw new UnsupportedOperationException("Missing BukkitImplAdapater for this version.");
throw new UnsupportedOperationException("Missing BukkitImplAdapter for this version.");
}
} catch (Exception e) {
LOGGER.warn("Regeneration via adapter failed.", e);

View File

@ -36,7 +36,7 @@ private StringUtil() {
/**
* Trim a string if it is longer than a certain length.
*
* @param str the stirng
* @param str the string
* @param len the length to trim to
* @return a new string
*/