Security Craft

Security Craft

53M Downloads

Sentry Crash Server

zHiiqz03 opened this issue ยท 1 comments

commented

Hi, I have a problem when I use the item Sentry, I have a server in forge 14.23.4.2766 and when I place the item in "agressive" and the sentry fire to mobs nothing happens, but the sentry fire to any player in the server, the server crash.
I have SecurityCraft v1.8.12.1 in the server 1.12.2
This is the crash log, help pls my nickname is zHiiqz_

Details

---- Minecraft Crash Report ----

WARNING: coremods are present:
llibrary (llibrary-core-1.0.11-1.12.2.jar)
iceandfire (iceandfire-1.8.4.jar)
CTMCorePlugin (CTM-MC1.12.2-1.0.1.30.jar)
CreativePatchingLoader (CreativeCore_v1.10.16_mc1.12.2.jar)
WolfArmorCore (wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar)
Contact their authors BEFORE contacting forge

// You should try our sister game, Minceraft!

Time: 6/10/20 1:21 AM
Description: Ticking entity

java.lang.ClassCastException: net.minecraft.entity.player.EntityPlayerMP cannot be cast to net.minecraft.entity.EntityLiving
at net.geforcemods.securitycraft.SCEventHandler.onLivingSetAttackTarget(SCEventHandler.java:563)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_213_SCEventHandler_onLivingSetAttackTarget_LivingSetAttackTargetEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:190)
at net.minecraftforge.common.ForgeHooks.onLivingSetAttackTarget(ForgeHooks.java:530)
at net.minecraft.entity.EntityLivingBase.func_70604_c(EntityLivingBase.java:486)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1073)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1093)
at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:839)
at net.geforcemods.securitycraft.entity.EntityBullet.func_184549_a(EntityBullet.java:29)
at net.minecraft.entity.projectile.EntityArrow.func_70071_h_(EntityArrow.java:287)
at net.minecraft.world.World.func_72866_a(World.java:2337)
at net.minecraft.world.World.func_72870_g(World.java:2291)
at net.minecraft.world.World.func_72939_s(World.java:2075)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:860)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:987)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:456)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:864)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:736)
at java.lang.Thread.run(Thread.java:748)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Server thread
Stacktrace:
at net.geforcemods.securitycraft.SCEventHandler.onLivingSetAttackTarget(SCEventHandler.java:563)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_213_SCEventHandler_onLivingSetAttackTarget_LivingSetAttackTargetEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:190)
at net.minecraftforge.common.ForgeHooks.onLivingSetAttackTarget(ForgeHooks.java:530)
at net.minecraft.entity.EntityLivingBase.func_70604_c(EntityLivingBase.java:486)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1073)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1093)
at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:839)
at net.geforcemods.securitycraft.entity.EntityBullet.func_184549_a(EntityBullet.java:29)
at net.minecraft.entity.projectile.EntityArrow.func_70071_h_(EntityArrow.java:287)
at net.minecraft.world.World.func_72866_a(World.java:2337)
at net.minecraft.world.World.func_72870_g(World.java:2291)

-- Entity being ticked --
Details:
Entity Type: securitycraft:bullet (net.geforcemods.securitycraft.entity.EntityBullet)
Entity ID: 21061
Entity Name: Bullet
Entity's Exact location: 322.50, 63.40, 615.50
Entity's Block location: World: (322,63,615), Chunk: (at 2,3,7 in 20,38; contains blocks 320,0,608 to 335,255,623), Region: (0,1; contains chunks 0,32 to 31,63, blocks 0,0,512 to 511,255,1023)
Entity's Momentum: 0.31, 0.05, -1.57
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:2075)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:860)

-- Affected level --
Details:
Level name: world
All players: 1 total; [EntityPlayerMP['iHansol'/160, uuid='492b1b10-69c6-31ad-a9f1-f5ea9302a3ac', l='world', x=323.40, y=63.00, z=613.66, cx=20, cd=38, tl=978175, v=true, d=false](iHansol at 323.40459417880624,63.0,613.6648292318482)]
Chunk stats: ServerChunkCache: 713 Drop: 0
Level seed: -7007994718078477185
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (36,64,248), Chunk: (at 4,4,8 in 2,15; contains blocks 32,0,240 to 47,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 5963311 game time, 8232496 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 43460 (now: false), thunder time: 102330 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:987)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:456)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:864)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:736)
at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
Minecraft Version: 1.12.2
Magma Version: e20a51e
Operating System: Linux (amd64) version 4.4.0-173-generic
Java Version: 1.8.0_242, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 402129320 bytes (383 MB) / 1713897472 bytes (1634 MB) up to 1713897472 bytes (1634 MB)
JVM Flags: 3 total; -XX:MaxMetaspaceSize=200M -Xmx1700M -Xms850M
IntCache: cache: 7, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.42 Powered by Forge 14.23.5.2854 20 mods loaded, 20 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

State ID Version Source Signature
LCHIJA minecraft 1.12.2 minecraft.jar None
LCHIJA mcp 9.42 minecraft.jar None
LCHIJA FML 8.0.99.99 server.jar None
LCHIJA forge 14.23.5.2854 server.jar None
LCHIJA creativecoredummy 1.0.0 minecraft.jar None
LCHIJA securitycraft v1.8.12.1 [1.12.2] SecurityCraft v1.8.12.1.jar None
LCHIJA jei 4.15.0.268 jei_1.12.2-4.15.0.268.jar None
LCHIJA chisel MC1.12.2-1.0.0.42 Chisel-MC1.12.2-1.0.0.42.jar None
LCHIJA chococraft 0.9.8.0 chococraft_1.12.2-0.9.8.0.jar None
LCHIJA comforts 1.4.1.2 comforts-1.12.2-1.4.1.2.jar 5d5b8aee896a4f5ea3f3114784742662a67ad32f
LCHIJA playerrevive 1.0 PlayerRevive_v1.2.35_mc1.12.2.jar None
LCHIJA creativecore 1.10.0 CreativeCore_v1.10.16_mc1.12.2.jar None
LCHIJA props 2.6.3 Decocraft-2.6.3_1.12.2.jar None
LCHIJA extrautils2 1.0 extrautils2-1.12-1.9.9.jar None
LCHIJA globalxp v1.4.10 globalxp-1.12.2-v1.4.10.jar None
LCHIJA gravestone 1.10.2 gravestone-1.10.2.jar None
LCHIJA llibrary 1.7.19 llibrary-1.7.19-1.12.2.jar b9f30a813bee3b9dd5652c460310cfcd54f6b7ec
LCHIJA iceandfire 1.8.4 iceandfire-1.8.4.jar None
LCHIJA travellersbackpack 1.0.23.23 TravellersBackpack-1.12.2-1.0.23.23.jar None
LCHIJA wolfarmor 3.4.1.1 wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar None

Loaded coremods (and transformers):
llibrary (llibrary-core-1.0.11-1.12.2.jar)
net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
iceandfire (iceandfire-1.8.4.jar)
com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher
CTMCorePlugin (CTM-MC1.12.2-1.0.1.30.jar)
team.chisel.ctm.client.asm.CTMTransformer
CreativePatchingLoader (CreativeCore_v1.10.16_mc1.12.2.jar)

WolfArmorCore (wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar)

Profiler Position: N/A (disabled)
Player Count: 1 / 20; [EntityPlayerMP['iHansol'/160, uuid='492b1b10-69c6-31ad-a9f1-f5ea9302a3ac', l='world', x=323.40, y=63.00, z=613.66, cx=20, cd=38, tl=978175, v=true, d=false](iHansol at 323.40459417880624,63.0,613.6648292318482)]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

commented

You are using a version that is 10 months old. Please do not report bugs if you are not using the latest version. Update to the latest version of the mod (keep in mind that you also need to update Forge to at least Forge 14.23.5.2826) and see if your issue got fixed. If this issue is still happening, please reopen this issue and update the opening post with the updated crash log.