mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Fix a couple of typos (#1835)
* Fix typo in BukkitImplAdapter * Yet another dangling typo
This commit is contained in:
parent
954210deb8
commit
9c7f4542a2
@ -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);
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user