diff options
| author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-07-06 08:08:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-06 08:08:52 +0200 |
| commit | 7b3ed85d171c156f895fdbaeff4d18572fc0f18e (patch) | |
| tree | 0bbfeca0a796bdd6494548f9f161edbc7fb6b700 /src/main/java/at/hannibal2/skyhanni/test | |
| parent | 34ba8c5fb8304e7b568822f8d3f675a0f133c6da (diff) | |
| download | skyhanni-7b3ed85d171c156f895fdbaeff4d18572fc0f18e.tar.gz skyhanni-7b3ed85d171c156f895fdbaeff4d18572fc0f18e.tar.bz2 skyhanni-7b3ed85d171c156f895fdbaeff4d18572fc0f18e.zip | |
Backend: Fixed typos everywhere (#2175)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/TestCopyBestiaryValues.kt | 4 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/hotswap/HotswapSupportImpl.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/TestCopyBestiaryValues.kt b/src/main/java/at/hannibal2/skyhanni/test/TestCopyBestiaryValues.kt index 5898b5d98..4bf183d74 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/TestCopyBestiaryValues.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/TestCopyBestiaryValues.kt @@ -24,7 +24,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @SkyHanniModule object TestCopyBestiaryValues { - class BestiarityObject { // TODO fix typo + class BestiaryObject { // TODO fix typo @Expose var name: String = "" @@ -72,7 +72,7 @@ object TestCopyBestiaryValues { private fun copy(titleItem: ItemStack, inventoryItems: Map<Int, ItemStack>) { val titleName = titleItem.name.removeWordsAtEnd(1) - val obj = BestiarityObject() + val obj = BestiaryObject() obj.name = titleName obj.texture = titleItem.getSkullTexture() ?: "no texture found" obj.skullOwner = titleItem.getSkullOwner() ?: "no skullOwner found" diff --git a/src/main/java/at/hannibal2/skyhanni/test/hotswap/HotswapSupportImpl.kt b/src/main/java/at/hannibal2/skyhanni/test/hotswap/HotswapSupportImpl.kt index 45b81a1ab..a42a10faf 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/hotswap/HotswapSupportImpl.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/hotswap/HotswapSupportImpl.kt @@ -37,7 +37,7 @@ class HotswapSupportImpl : HotswapSupportHandle { ?.makeAccessible() ?.removeFinal() if (instanceField != null) { - ChatUtils.chat("Reinjected static instance $newInstance!") + ChatUtils.chat("Re-injected static instance $newInstance!") instanceField.set(null, newInstance) } SkyHanniMod.modules.add(newInstance) |
