Vampiric Ageing - A Vampirism Addon

Vampiric Ageing - A Vampirism Addon

292k Downloads

[BUG] cannot rightclick or sleep in coffin

schindlershadow opened this issue ยท 0 comments

commented

MC 1.21.1
Vampiric-Ageing: 1.4.0
Neoforge 21.1.61

get the following when right clicking coffin:

[16Oct2024 22:01:46.075] [Server thread/ERROR] [net.neoforged.bus.EventBus/EVENTBUS]: Exception caught during firing event: Cannot invoke "com.thedrofdoctoring.vampiricageing.capabilities.ageing.IAgeType.minFactionRank()" because "this.type" is null
	Index: 13
	Listeners:
		0: @SubscribeEvent: class com.thedrofdoctoring.vampiricageing.capabilities.handlers.HunterAgeingHandler onBlockRightClicked(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		1: net.tslat.aoa3.event.RestrictionEventHandler$$Lambda/0x000074ec3b193c68@17b2211f
		2: net.tslat.aoa3.event.RestrictionEventHandler$$Lambda/0x000074ec3b193c68@604a700
		3: com.blamejared.crafttweaker.api.event.bus.NeoForgeEventBusWire$$Lambda/0x000074ec3b210ae8@63134e97
		4: @SubscribeEvent: de.teamlapen.vampirism.entity.player.ModPlayerEventHandler@72ace642 onBlockRightClicked(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		5: @SubscribeEvent: de.teamlapen.vampirism.entity.player.ModPlayerEventHandler@72ace642 onPlayerInteract(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		6: @SubscribeEvent: class tschipp.carryon.events.CommonEvents onBlockClick(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		7: @SubscribeEvent: class dev.architectury.event.forge.EventHandlerImplCommon eventPlayerInteractEvent(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		8: @SubscribeEvent: class tallestegg.guardvillagers.HandlerEvents onEntityInteract(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		9: @SubscribeEvent: com.sk89q.worldedit.neoforge.NeoForgeWorldEdit@1a917e6f onRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		10: @SubscribeEvent: class glitchcore.neoforge.handlers.InteractionEventHandler onRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		11: @SubscribeEvent: com.thedrofdoctoring.vampiricageing.capabilities.handlers.WerewolfAgeingHandler@49ef0458 onInteract(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		12: @SubscribeEvent: class com.thedrofdoctoring.vampiricageing.capabilities.handlers.HunterAgeingHandler onInteractBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		13: @SubscribeEvent: class com.thedrofdoctoring.vampiricageing.capabilities.AgeingEventHandler onCoffinInteract(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		14: @SubscribeEvent: class com.thedrofdoctoring.vampiricageing.capabilities.AgeingEventHandler sireBloodInteract(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		15: @SubscribeEvent: class com.enderio.base.common.integrations.WrenchCompat onRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		16: @SubscribeEvent: class com.enderio.machines.common.block.CapacitorBankBlock rightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		17: @SubscribeEvent: class com.buuz135.industrial.proxy.event.CocoaBeanRightClickHarvesting onPlayerRightClick(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		18: @SubscribeEvent: class it.hurts.sskirillss.relics.items.relics.hands.WoolMittenItem$Events onBlockClick(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		19: @SubscribeEvent: class com.klikli_dev.occultism.handlers.PlayerEventHandler onPlayerRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		20: @SubscribeEvent: class dev.xkmc.l2complements.events.ItemUseEventHandler onPlayerRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		21: net.blay09.mods.balm.neoforge.event.NeoForgeBalmCommonEvents$$Lambda/0x000074ec3a22c870@3206acce
		22: doggytalents.DoggyTalentsNext$$Lambda/0x000074ec3a25f2e0@35ee3903
		23: doggytalents.DoggyTalentsNext$$Lambda/0x000074ec3a260238@bfafd2d
		24: @SubscribeEvent: class dan200.computercraft.shared.ForgeCommonHooks onUseBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		25: @SubscribeEvent: class com.enderio.conduits.common.conduit.block.ConduitBundleBlock handleShiftYeta(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		26: @SubscribeEvent: class com.brutalbosses.event.EventHandler playerClickBlockEvent(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		27: @SubscribeEvent: class io.redspace.ironsspellbooks.loot.LootDebugEvents alertLootTable(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		28: @SubscribeEvent: class io.redspace.ironsspellbooks.entity.mobs.wizards.WizardAIEvents onBlockUsed(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		29: appeng.core.AppEngBase$$Lambda/0x000074ec3ade2228@1cbf5003
		30: @SubscribeEvent: class com.hollingsworth.arsnouveau.common.camera.CameraEvents onRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		31: @SubscribeEvent: class com.hollingsworth.arsnouveau.client.events.ClientPlayerEvent onBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		32: net.tslat.aoa3.event.PlayerEvents$$Lambda/0x000074ec3b1a8000@4b6e931b
		33: net.tslat.aoa3.event.AoAPlayerEvents$$Lambda/0x000074ec3b1b5ce8@2940dbf1
		34: com.blamejared.crafttweaker.api.event.bus.NeoForgeEventBusWire$$Lambda/0x000074ec3b210ae8@33e5685f
		35: @SubscribeEvent: class com.blamejared.crafttweaker.impl.event.CTCommonEventHandler blockInteract(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		36: aztech.modern_industrialization.MI$$Lambda/0x000074ec3b300cb0@276ad4d2
		37: aztech.modern_industrialization.blocks.storage.barrel.BarrelBlock$$Lambda/0x000074ec3b300ed8@795a1c48
		38: @SubscribeEvent: Block{[unregistered]} onRightClick(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		39: @SubscribeEvent: Block{[unregistered]} rightClick(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		40: org.cyclops.evilcraft.item.ItemPoisonBottle$$Lambda/0x000074ec3bb9e288@3e452a48
		41: vazkii.patchouli.neoforge.common.NeoForgeModInitializer$$Lambda/0x000074ec3c21eed0@5cfecab6
		42: @SubscribeEvent: de.teamlapen.werewolves.entities.player.ModPlayerEventHandler@32079715 onItemUseBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		43: @SubscribeEvent: de.maxhenkel.reap.CropEvents@21a63fa9 onPlayerUse(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		44: com.klikli_dev.modonomicon.ModonomiconNeo$$Lambda/0x000074ec3c33a8d8@7bb87e20
		45: @SubscribeEvent: mekanism.common.CommonPlayerTracker@41748ab7 rightClickEvent(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		46: net.commoble.jumbofurnace.JumboFurnace$$Lambda/0x000074ec38d09420@cb8f6f4
		47: @SubscribeEvent: class harmonised.pmmo.events.EventHandler onBlockActivate(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		48: @SubscribeEvent: class ovh.corail.tombstone.event.EventHandler onRightClickBlock(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		49: net.p3pp3rf1y.sophisticatedbackpacks.init.ModBlocks$$Lambda/0x000074ec39f3cf18@76be8557
		50: @SubscribeEvent: class de.mari_023.ae2wtlib.AE2wtlibForge handle(Lnet/neoforged/neoforge/event/entity/player/PlayerInteractEvent$RightClickBlock;)V
		51: com.blamejared.crafttweaker.api.event.bus.NeoForgeEventBusWire$$Lambda/0x000074ec3b210ae8@3983ba94
java.lang.NullPointerException: Cannot invoke "com.thedrofdoctoring.vampiricageing.capabilities.ageing.IAgeType.minFactionRank()" because "this.type" is null
	at TRANSFORMER/[email protected]/com.thedrofdoctoring.vampiricageing.capabilities.AgeingManager.checkRank(AgeingManager.java:167)
	at TRANSFORMER/[email protected]/com.thedrofdoctoring.vampiricageing.capabilities.AgeingManager.canAge(AgeingManager.java:158)
	at TRANSFORMER/[email protected]/com.thedrofdoctoring.vampiricageing.capabilities.AgeingEventHandler.onCoffinInteract(AgeingEventHandler.java:110)
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.SubscribeEventListener.invoke(SubscribeEventListener.java:49)
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350)
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315)
	at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.CommonHooks.onRightClickBlock(CommonHooks.java:810)
	at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:343)
	at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1122)
	at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:42)
	at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:10)
	at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:27)
	at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148)
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:872)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:170)
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:855)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:849)
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:821)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:826)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:712)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
	at java.base/java.lang.Thread.run(Thread.java:1583)

[16Oct2024 22:01:46.076] [Server thread/ERROR] [net.minecraft.network.protocol.game.ServerPacketListener/]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@22806b59, suppressing error
java.lang.NullPointerException: Cannot invoke "com.thedrofdoctoring.vampiricageing.capabilities.ageing.IAgeType.minFactionRank()" because "this.type" is null
	at TRANSFORMER/[email protected]/com.thedrofdoctoring.vampiricageing.capabilities.AgeingManager.checkRank(AgeingManager.java:167) ~[vampiricageing-1.21-1.4.0.jar%23643!/:?]
	at TRANSFORMER/[email protected]/com.thedrofdoctoring.vampiricageing.capabilities.AgeingManager.canAge(AgeingManager.java:158) ~[vampiricageing-1.21-1.4.0.jar%23643!/:?]
	at TRANSFORMER/[email protected]/com.thedrofdoctoring.vampiricageing.capabilities.AgeingEventHandler.onCoffinInteract(AgeingEventHandler.java:110) ~[vampiricageing-1.21-1.4.0.jar%23643!/:?]
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.SubscribeEventListener.invoke(SubscribeEventListener.java:49) ~[bus-8.0.2.jar%2367!/:?]
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350) ~[bus-8.0.2.jar%2367!/:?]
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315) ~[bus-8.0.2.jar%2367!/:?]
	at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.CommonHooks.onRightClickBlock(CommonHooks.java:810) ~[neoforge-21.1.61-universal.jar%23390!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:343) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1122) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:42) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:10) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:27) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:872) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:170) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:855) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:849) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:821) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:826) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:712) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23389!/:?]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

system details and modlist
https://pastebin.com/raw/ci3kSyRX

modpack
https://www.curseforge.com/minecraft/modpacks/infinix-test