Crash when Blocking Shulker attack with Gobber Shield
Pipiolo13 opened this issue ยท 1 comments
Minecraft 1.18.2 version
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 2/5/23, 12:54 PM
Description: Ticking entity
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1297.method_5643(net.minecraft.class_1282, float)" because "attacker" is null
at com.github.crimsondawn45.basicshields.module.VanillaModule.lambda$registerContent$0(VanillaModule.java:66)
at com.github.crimsondawn45.fabricshieldlib.lib.event.ShieldBlockCallback.lambda$static$0(ShieldBlockCallback.java:22)
at net.minecraft.class_1309.handler$dpg004$damage(class_1309.java:49566)
at net.minecraft.class_1309.method_5643(class_1309.java)
at net.minecraft.class_1657.method_5643(class_1657.java:925)
at net.minecraft.class_3222.method_5643(class_3222.java:704)
at net.minecraft.class_1678.method_7454(class_1678.java:304)
at net.minecraft.class_1676.method_7488(class_1676.java:148)
at net.minecraft.class_1678.method_7488(class_1678.java:322)
at net.minecraft.class_1678.method_5773(class_1678.java:237)
at net.minecraft.class_3218.method_18762(class_3218.java:702)
at net.minecraft.class_1937.method_18472(class_1937.java:485)
at net.minecraft.class_3218.method_31420(class_3218.java:363)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:331)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Stacktrace:
at com.github.crimsondawn45.basicshields.module.VanillaModule.lambda$registerContent$0(VanillaModule.java:66)
at com.github.crimsondawn45.fabricshieldlib.lib.event.ShieldBlockCallback.lambda$static$0(ShieldBlockCallback.java:22)
at net.minecraft.class_1309.handler$dpg004$damage(class_1309.java:49566)
at net.minecraft.class_1309.method_5643(class_1309.java)
at net.minecraft.class_1657.method_5643(class_1657.java:925)
at net.minecraft.class_3222.method_5643(class_3222.java:704)
at net.minecraft.class_1678.method_7454(class_1678.java:304)
at net.minecraft.class_1676.method_7488(class_1676.java:148)
at net.minecraft.class_1678.method_7488(class_1678.java:322)
at net.minecraft.class_1678.method_5773(class_1678.java:237)
at net.minecraft.class_3218.method_18762(class_3218.java:702)
at net.minecraft.class_1937.method_18472(class_1937.java:485)
at net.minecraft.class_3218.method_31420(class_3218.java:363)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:331)
-- Entity being ticked --
Details:
Entity Type: minecraft:shulker_bullet (net.minecraft.class_1678)
Entity ID: 2359
Entity Name: Shulker Bullet
Entity's Exact location: -1199.70, 103.18, -1535.23
Entity's Block location: World: (-1200,103,-1536), Section: (at 0,7,0 in -75,6,-96; chunk contains blocks -1200,0,-1536 to -1185,255,-1521), Region: (-3,-3; contains chunks -96,-96 to -65,-65, blocks -1536,0,-1536 to -1025,255,-1025)
Entity's Momentum: -0.01, -0.00, 0.17
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.class_1937.method_18472(class_1937.java:485)
at net.minecraft.class_3218.method_31420(class_3218.java:363)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:331)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)
-- Affected level --
Details:
All players: 1 total; [class_3222['Diatrabas'/241, l='ServerLevel[MundoEpico]', x=-1199.16, y=103.00, z=-1534.61]]
Chunk stats: 2025
Level dimension: minecraft:the_end
Derived: true
Level spawn location: World: (-120,100,36), Section: (at 8,4,4 in -8,6,2; chunk contains blocks -128,0,32 to -113,255,47), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 14378049 game time, 17421898 day time
Level name: MundoEpico
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Level weather: Rain time: 111092 (now: false), thunder time: 48477 (now: false)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)