Faboslav / friends-and-foes

Minecraft mod that adds outvoted and forgotten mobs from the mob votes in a believable vanilla plus style.
https://www.curseforge.com/minecraft/mc-mods/friends-and-foes
Other
95 stars 28 forks source link

Totem of illusion crashes game #191

Closed LincStoel closed 4 months ago

LincStoel commented 6 months ago

This is a tough one to pin down because the issue seems to be on dedicated servers only (I can't replicate in single player) and i can't narrow down which mod is causing the interaction because friends and foes does not cause any issues on it's own. Given that, i don't really expect you to spend too much time trying to fix this, but i thought i would submit this issue since I've seen a few other folks mention it. I'm on forge 43.3.7 minecraft version 1.19.2 F&F version 2.0.7. Here is my modlist:

KubeJS Thermal (by LatvianModder)

Explorer's Compass (by Chaosyr) Plenty of Golems (by alborto06) TerraBlender (Forge) (by TheAdubbz) Incendium (by Starmute) Create Jetpack (by possible_triangle) Creeper Overhaul (by joosh_7889) Sound Physics Remastered (by henkelmax) Blinking Ender Eyes (by Futureazoo) FTB Teams (Forge) (by FTB) Quark (by Vazkii) Visual Workbench [Forge & Fabric] (by Fuzs) YUNG's Better Desert Temples (Forge) (by YUNGNICKYOUNG) Curios API (Forge/NeoForge) (by TheIllusiveC4) Morph-o-Tool (by Vazkii) Easier Sleeping (by GeheimagentNr1) Twilight Tweaks (by jodlodi) Easy Anvils [Forge & Fabric] (by Fuzs) Jade 🔍 (by Snownee) Towns and Towers (by Biban_Auriu) XP Tome (by bl4ckscor3) Server Performance - Smooth Chunk Save[Forge/Fabric] (by someaddon) Resourceful Config (by ThatGravyBoat) Caelus API (Forge/NeoForge) (by TheIllusiveC4) GraveStone Mod (by henkelmax) Nyf's Spiders (by Nyfaria) Create: The Factory Must Grow (by Dr_Mango_Tea) Enlightend (by lixir) Artifacts (by ochotonida) playerAnimator (by KosmX) Comforts (Fabric/Forge/Quilt) (by TheIllusiveC4) Lootr (Forge & NeoForge) (by Noobanidus) Tips (by DarkhaxDev) YUNG's API (Forge) (by YUNGNICKYOUNG) Integrated Dungeons and Structures (by CraisinLord) Better Statistics Screen (by Dev) Traveler's Titles (Forge) (by YUNGNICKYOUNG) Critters and Companions (by joosh_7889) Just Enough Items (JEI) (by mezz) Applied Energistics 2 (by thetechnici4n) Advancement Plaques [Forge] (by Grend_G) Portable Hole (by Fuzs) Polymorph (Fabric/Forge/Quilt) (by TheIllusiveC4) Structure Gel API (by ModdingLegacy) The Twilight Forest (by Benimatic) Hole Filler Mod (by DannyBoyThomas) Saturn (by AbdElAziz333) Crafting Tweaks (by BlayTheNinth) CoFH Core (by TeamCoFH) LootJS: KubeJS Addon (by Lytho) Dynamic Surroundings Resurrected (by 100media) Rotten Creatures (by fusionstudiomc) Snail Trails (by Kaii) Nature's Compass (by Chaosyr) Glass Panes CTM Fix (by WenXin2) Iceberg [Forge] (by Grend_G) YUNG's Extras (Forge) (by YUNGNICKYOUNG) Item Filters (by LatvianModder) Chunk Sending[Forge/Fabric] (by someaddon) Alex's Mobs (by sbom_xela) Better chunk loading[Forge/Fabric] (by someaddon) Galosphere (by orcinus73) Create (by simibubi) Wild Berries (by AdamT19) Supplementaries (by MehVahdJukaar) Quests Additions (Forge) (by NaturaSpell) Farsight [Forge] (by someaddon) The Lost Castle (by jack_bagel) Spelunkery (by OrdanaryMods) Immersive Weathering [FORGE] (by OrdanaryMods) It Takes a Pillage (by izofar) Aquatic Torches (by realmayus) Colds: Grappler & Ropes (Forge) (by Coldspell_Games) Ars Nouveau (by baileyholl2) Better Days (by wendall911) Rhino (by LatvianModder) Deeper and Darker (by KyaniteMods) NetherPortalFix (by BlayTheNinth) Better Compatibility Checker (by Gaz_) Charm of Undying (Fabric/Forge/Quilt) (by TheIllusiveC4) Biome Makeover (Forge) (by Lemonszz) CorgiLib (by Corgi_Taco) Waystones (by BlayTheNinth) SwingThroughGrass (by exidex) Better Respawn (by henkelmax) Goblin Traders (by MrCrayfish) Duckling (by Frogipher) Citadel (by sbom_xela) Immersive Armors [Fabric/Forge] (by Conczin) Bookshelf (by DarkhaxDev) Valhelsia Core (by ValhelsiaTeam) YUNG's Better Jungle Temples (Forge) (by YUNGNICKYOUNG) Pluto (by AbdElAziz333) Brass Pretty Pipes (by lincicecold3000) Create Crafts & Additions (by MRHminer) Simple Drying Racks (by Der_Wisch) Decorative Blocks (by stohun) Blue Skies (by ModdingLegacy) Entity Culling Fabric/Forge (by tr7zw) L_Ender 's Cataclysm (by mcl_ender) Faraway Beacons (Fabric) (by PooPmeep) Clickable advancements[Forge/Fabric] (by someaddon) Terralith (by Starmute) KubeJS Create (by LatvianModder) Creatures and Beasts (by joosh_7889) Better Combat [Fabric & Forge] (by daedelus_dev) Pretty Pipes (by Ellpeck) CobbleGenRandomizer (by HorribleNerd) Moonlight Lib (by MehVahdJukaar) RightClickHarvest (by jamalam360) Oculus (by Asek3) The Aether (by TheAetherTeam) FTB Chunks (Forge) (by FTB) ForgeEndertech (by EnderLanky) Neruina - Ticking Entity Fixer (by bawnorton) FallingTree (Forge&Fabric) (by rakambda) Cold Sweat (by Mikul) Create: Mosaic Addition (by xlxl3) ConnectedTexturesMod (by tterrag1098) Default Options (by BlayTheNinth) Spirit (by terrariumearth) Valhelsia Structures (by ValhelsiaTeam) Light Overlay (Rift/Forge/Fabric) (by shedaniel) Smarter Farmers (farmers replant) (by MehVahdJukaar) Almost Unified (by AlmostReliable) Cloth Config API (Fabric/Forge/NeoForge) (by shedaniel) Health Overlay (Forge) (by Terrails) fix GPU memory leak[Forge/Fabric] (by someaddon) YUNG's Better Mineshafts (Forge) (by YUNGNICKYOUNG) Void Totem (Forge) (by Affehund) This boat is MINE! (by rimo2022) Integrated API (by CraisinLord) End Remastered (by jack_bagel) Better Raw copper - Sr_Paulo (by Sr_Paulo) GeckoLib (by Gecko) Easy Shulker Boxes [Forge & Fabric] (by Fuzs) Stupid Horse Stand Still (by Lothrazar) Elytra Slot (Fabric/Forge/Quilt) (by TheIllusiveC4) Cataclysm Delight (by hippo0824) End's Delight (by foggyhillside) Balm (Forge Edition) (by BlayTheNinth) Ars Énergistique (by ninety) Smaller Nether Portals (by Serilum) Dragon Drops Elytra (by Serilum) Every Compat (Wood Good) (by MehVahdJukaar) Water Improved (by HotTubBug) YUNG's Better End Island (Forge) (by YUNGNICKYOUNG) Carpeted Stairs & Slabs (by MehVahdJukaar) Dungeons and Taverns (by Nova_Wostra) Oreganized (by xaidee) Kotlin for Forge (by thedarkcolour) Delightful (by brnbrd) KleeSlabs (by BlayTheNinth) More Dragon Eggs (by Darkere) KubeJS Ars Nouveau (by BobVarioa) Trading Post [Forge & Fabric] (by Fuzs) Patchouli (by Vazkii) YUNG's Bridges (Forge) (by YUNGNICKYOUNG) KubeJS Delight (by qinactuallyfound) Valhelsia Furniture (by ValhelsiaTeam) Copper Overhaul (by ElocinDev) Clumps (by Jaredlll08) Ars Creo (by baileyholl2) Farmer's Delight (by vectorwing) [📦] No Unused Chunks (by Dev) Ambient Environment (by Jaredlll08) When Dungeons Arise - Forge! (by Aureljz) Simple Backups (by MelanX) Embeddium (Rubidium) Extra (by dimadencep) Create: Molten Vents (by apothicono2) KubeJS (by LatvianModder) Better Advancements (by way2muchnoise) Oh The Biomes You'll Go (by AOCAWOL) Bad Wither No Cookie - Reloaded (by Kreezxil) [Let's Do] API (by Cristelknight) Puzzles Lib [Forge & Fabric] (by Fuzs) YUNG's Better Nether Fortresses (Forge) (by YUNGNICKYOUNG) Archaeology API (by min01) Entity Collision FPS Fix (by Corgi_Taco) Nether's Delight (by lumpazl) Naturalist (by Starfish_Studios) Configured (by MrCrayfish) Farmer's Respite (by lumpazl) Backpacked (by MrCrayfish) Create Blue Skies Compat (by celsiusqc) Create: Dynamic Village (by sudolev) Prism [Forge] (by Grend_G) Thermal Integration (by TeamCoFH) Thermal Foundation (by TeamCoFH) FTB Quests (Forge) (by FTB) FTB Library (Forge) (by FTB) Neko's Enchanted Books (by Nekomaster1000) Thermal Dynamics (by TeamCoFH) Gliders (by Suff99) Better Tridents [Forge & Fabric] (by Fuzs) Akashic Tome (by Vazkii) Biome Spawn Point (by Serilum) Botarium (by CodexAdrian) Architectury API (Fabric/Forge/NeoForge) (by shedaniel) Create Slice & Dice (by possible_triangle) Just Enough Resources (JER) (by way2muchnoise) Straw Golem Rebaled - Forge (by CommodoreThrawn) YUNG's Better Dungeons (Forge) (by YUNGNICKYOUNG) Embeddium (by embeddedt) AppleSkin (by squeek502) Enchantment Descriptions (by DarkhaxDev) Starlight (Forge) (by Spottedstar) Ars Artifice (by Jarva) Snuffles (by schnappdragon) Create: Balanced Flight (Angel Ring) (by Anthxny) Embeddium++ (by SrRapero720) Ecologics (by SameDifferent) AutoRegLib (by Vazkii) Smooth Boot (Reloaded) (by AbdElAziz333) Thermal Expansion (by TeamCoFH) Collective (by Serilum) Better Beacon Placement (by Serilum) Falling Leaves (Forge) (by Cheaterpaul) Friends&Foes (Forge/NeoForge) (Copper Golem, Glare, Moobloom, Iceologer, Barnacle, Wildfire, Illusioner, Rascal and Tuff Golem) (by Faboslav) FerriteCore (Forge) (by malte0811) AttributeFix (by DarkhaxDev) Create: Power Loader (by Lysine) Capybara [Forge] (by TechSupportRed) Spice of Life: Carrot Edition (by lordcazsius) Controlling (by Jaredlll08) YUNG's Better Ocean Monuments (Forge) (by YUNGNICKYOUNG) YUNG's Better Witch Huts (Forge) (by YUNGNICKYOUNG) AI Improvements (by QueenOfMissiles) Twilight's Flavors & Delight (by lcy0x1) Ender Bundle (by Ferri_Arnus) Galosphere Delight (A Farmer's Delight Add-on) (by nocubeyt) TexTrue's Embeddium Options (by TexTrue) Simply Swords [Fabric & Forge] (by sweenuss) Alex's Delight (by NCP_Bails) Structory (by botanydev) Custom Villager Trades (Forge) (by SpaceCat_97) Canary (by AbdElAziz333) Create: New Age (by nilBlade) Mouse Tweaks (by YaLTeR) Cupboard (by someaddon)

I realize this isn't super helpful. What happens is that the totem is triggered, and after that any time the player is hit it causes ticking entity errors on everything that hits them, and causes a ticking player. Notably, the illusions of the player are not spawned. Even with the same mod list i can't replicate the issue in single player so it is only present in the dedicated server.

Here is a relevant section from the server log:

[23Jan2024 18:33:29.902] [Server thread/WARN] [neruina/]: Neruina Caught Exception
net.minecraft.ReportedException: Canary Class Analysis
    at com.abdelaziz.canary.common.reflection.ReflectionUtil.hasMethodOverride(ReflectionUtil.java:46) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.EntityClassGroup.lambda$static$0(EntityClassGroup.java:30) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.EntityClassGroup.testAndAddClass(EntityClassGroup.java:78) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.EntityClassGroup.contains(EntityClassGroup.java:61) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.world.WorldHelper.getEntitiesForCollision(WorldHelper.java:40) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.CanaryEntityCollisions$1$1.computeNext(CanaryEntityCollisions.java:106) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.CanaryEntityCollisions$1$1.computeNext(CanaryEntityCollisions.java:94) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146) ~[guava-31.0.1-jre.jar%2372!/:?]
    at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141) ~[guava-31.0.1-jre.jar%2372!/:?]
    at com.abdelaziz.canary.common.entity.CanaryEntityCollisions.doesBoxCollideWithHardEntities(CanaryEntityCollisions.java:62) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at net.minecraft.world.level.Level.m_45756_(Level.java:4542) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.CollisionGetter.m_45786_(CollisionGetter.java:44) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.LivingEntity.m_20984_(LivingEntity.java:3112) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at com.faboslav.friendsandfoes.entity.PlayerIllusionEntity.tryToTeleport(PlayerIllusionEntity.java:230) ~[friendsandfoes-forge-mc1.19.2-2.0.7.jar%23432!/:?]
    at net.minecraft.world.entity.player.Player.friendsandfoes_createIllusion(Player.java:9445) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.player.Player.friendsandfoes_createIllusions(Player.java:9391) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.player.Player.handler$cjk000$friendsandfoes_tryUseTotems(Player.java:9337) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.player.Player.m_6469_(Player.java) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerPlayer.m_6469_(ServerPlayer.java:671) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.AbstractArrow.m_5790_(AbstractArrow.java:327) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.Projectile.m_6532_(Projectile.java:135) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.AbstractArrow.m_8119_(AbstractArrow.java:189) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.Arrow.m_8119_(Arrow.java:104) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.Level.mixinextras$bridge$accept$164(Level.java) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at com.bawnorton.neruina.handler.NeruinaTickHandler.safelyTickEntities$notTheCauseOfTickLag(NeruinaTickHandler.java:115) ~[neruina-1.3.0-forge+1.18.2-1.20.1.jar%23474!/:?]
    at net.minecraft.world.level.Level.wrapOperation$znf000$catchTickingEntities(Level.java:9038) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/PlayerInfo for invalid dist DEDICATED_SERVER
    at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.19.2-43.3.7.jar%2367!/:1.0]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar%2354!/:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar%2354!/:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar%2354!/:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.4.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
    at java.lang.Class.getDeclaredMethod(Class.java:2673) ~[?:?]
    at com.abdelaziz.canary.common.reflection.ReflectionUtil.hasMethodOverride(ReflectionUtil.java:23) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    ... 36 more
[23Jan2024 18:33:32.863] [Server thread/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/multiplayer/PlayerInfo for invalid dist DEDICATED_SERVER
[23Jan2024 18:33:32.900] [Server thread/WARN] [neruina/]: Neruina Caught Exception
net.minecraft.ReportedException: Canary Class Analysis
    at com.abdelaziz.canary.common.reflection.ReflectionUtil.hasMethodOverride(ReflectionUtil.java:46) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.EntityClassGroup.lambda$static$0(EntityClassGroup.java:30) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.EntityClassGroup.testAndAddClass(EntityClassGroup.java:78) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.EntityClassGroup.contains(EntityClassGroup.java:61) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.world.WorldHelper.getEntitiesForCollision(WorldHelper.java:40) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.CanaryEntityCollisions$1$1.computeNext(CanaryEntityCollisions.java:106) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.abdelaziz.canary.common.entity.CanaryEntityCollisions$1$1.computeNext(CanaryEntityCollisions.java:94) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146) ~[guava-31.0.1-jre.jar%2372!/:?]
    at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141) ~[guava-31.0.1-jre.jar%2372!/:?]
    at com.abdelaziz.canary.common.entity.CanaryEntityCollisions.doesBoxCollideWithHardEntities(CanaryEntityCollisions.java:62) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    at net.minecraft.world.level.Level.m_45756_(Level.java:4542) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.CollisionGetter.m_45786_(CollisionGetter.java:44) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.LivingEntity.m_20984_(LivingEntity.java:3112) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at com.faboslav.friendsandfoes.entity.PlayerIllusionEntity.tryToTeleport(PlayerIllusionEntity.java:230) ~[friendsandfoes-forge-mc1.19.2-2.0.7.jar%23432!/:?]
    at net.minecraft.world.entity.player.Player.friendsandfoes_createIllusion(Player.java:9445) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.player.Player.friendsandfoes_createIllusions(Player.java:9391) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.player.Player.handler$cjk000$friendsandfoes_tryUseTotems(Player.java:9337) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.player.Player.m_6469_(Player.java) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerPlayer.m_6469_(ServerPlayer.java:671) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.AbstractArrow.m_5790_(AbstractArrow.java:327) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.Projectile.m_6532_(Projectile.java:135) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.AbstractArrow.m_8119_(AbstractArrow.java:189) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.entity.projectile.Arrow.m_8119_(Arrow.java:104) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.Level.mixinextras$bridge$accept$164(Level.java) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at com.bawnorton.neruina.handler.NeruinaTickHandler.safelyTickEntities$notTheCauseOfTickLag(NeruinaTickHandler.java:115) ~[neruina-1.3.0-forge+1.18.2-1.20.1.jar%23474!/:?]
    at net.minecraft.world.level.Level.wrapOperation$znf000$catchTickingEntities(Level.java:9038) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23553!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/PlayerInfo for invalid dist DEDICATED_SERVER
    at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.19.2-43.3.7.jar%2367!/:1.0]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar%2354!/:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar%2354!/:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar%2354!/:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.4.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
    at java.lang.Class.getDeclaredMethod(Class.java:2673) ~[?:?]
    at com.abdelaziz.canary.common.reflection.ReflectionUtil.hasMethodOverride(ReflectionUtil.java:23) ~[canary-mc1.19.2-0.3.2.jar%23364!/:0.3.2]
    ... 36 more

Like i said, i can't imagine this helps narrow it down, but i thought i'd tell you what i know.

Faboslav commented 5 months ago

Hello there, i will try to look into this after the glare release rework, thanks for the report!

ShapedHades commented 4 months ago

Totem also crashes my game. Exact same Neruina log, most of the same mods. Only on dedicated server as well.

Arcod7 commented 4 months ago

Same thing here, the totem is crashing the server.

LightFishYT commented 4 months ago

This is happening to me also.

Faboslav commented 4 months ago

Can both of you please post the Friends&Foes mod version you have?

Arcod7 commented 4 months ago

I'm playing on the 1.1.8 version of EpiCraft that uses Friends&Foes 1.19.2-2.0.9

Arcod7 commented 4 months ago

Here's one of my crash report : https://jmp.sh/craSvQcG

Faboslav commented 4 months ago

Would any of you be able to test the same setup, but without canary mod enabled?

Arcod7 commented 4 months ago

The server is not crashing anymore without canary With canary, i saw that taking damage from a player works the first time, but the totem of illusion is not "used", it stays in my hand and after that an other player can't hit me, i'm invincible In this state, when i take damage (from fire aspect or poison for example), it disconnect me but it doesn't crash the server It only crashes the server when i take damage for the first time by a mob like a zombie or a pillager.

Faboslav commented 4 months ago

Thank you, that is really helpful, i will try to test it with the mentioned setup!

Faboslav commented 4 months ago

Should be fixed with 2.0.10 version, can you please try?

Arcod7 commented 4 months ago

I will try probably next week, I'll keep you informed

LightFishYT commented 4 months ago

Should be fixed with 2.0.10 version, can you please try?

It is fixed for me. I'm using the 2.0.10 version with canary.

Faboslav commented 4 months ago

Great then, closing this, in case its not working, please reopen this issue.

LincStoel commented 4 months ago

Thanks so much for looking into this!

Arcod7 commented 4 months ago

I confirm it's fixed for me, thanks a lot !