Krxwallo / CheatMode

A Minecraft Mod that allows players to access the creative inventory from the survival mode.
https://www.curseforge.com/minecraft/mc-mods/cheat-mode
Other
2 stars 3 forks source link

When I open my inventory, minecraft crashes #2

Closed Mindustry-Poop closed 3 years ago

Mindustry-Poop commented 3 years ago

---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3

Time: 23/01/21 15:44 Description: Unexpected error

java.lang.NullPointerException: Unexpected error at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_51] {} at com.justAm0dd3r.cheatmode.events.Events.getServerPlayer(Events.java:156) ~[?:1.2.3] {re:classloading} at com.justAm0dd3r.cheatmode.events.Events.onScreenInit(Events.java:61) ~[?:1.2.3] {re:classloading} at net.minecraftforge.eventbus.ASMEventHandler_3_Events_onScreenInit_Post.invoke(.dynamic) ~[?:?] {} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {} at net.minecraftforge.eventbus.EventBus$$Lambda$2597/1043993096.invoke(Unknown Source) ~[?:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {} at net.minecraft.client.gui.screen.Screen.func_231158b(Screen.java:327) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:852) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:1595) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1460) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:953) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {} at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.0.1.jar:36.0] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$436/913806791.call(Unknown Source) [forge-1.16.5-36.0.1.jar:36.0] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}

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

-- Head -- Thread: Render thread Stacktrace: at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_51] {} at com.justAm0dd3r.cheatmode.events.Events.getServerPlayer(Events.java:156) ~[?:1.2.3] {re:classloading} at com.justAm0dd3r.cheatmode.events.Events.onScreenInit(Events.java:61) ~[?:1.2.3] {re:classloading} at net.minecraftforge.eventbus.ASMEventHandler_3_Events_onScreenInit_Post.invoke(.dynamic) ~[?:?] {} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {} at net.minecraftforge.eventbus.EventBus$$Lambda$2597/1043993096.invoke(Unknown Source) ~[?:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {} at net.minecraft.client.gui.screen.Screen.func_231158b(Screen.java:327) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:852) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:1595) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} -- Affected level -- Details: All players: 1 total; [ClientPlayerEntity['AyDward'/5687, l='ClientLevel', x=249.01, y=67.17, z=3009.42]] Chunk stats: Client Chunk Cache: 729, 248 Level dimension: minecraft:overworld Level spawn location: World: (16,64,-160), Chunk: (at 0,4,0 in 1,-10; contains blocks 16,0,-160 to 31,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Level time: 154911 game time, 3460267 day time Server brand: Paper Server type: Non-integrated multiplayer server Stacktrace: at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:617) ~[?:?] {re:classloading,xf:OptiFine:default} at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2024) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:628) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {} at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.0.1.jar:36.0] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$436/913806791.call(Unknown Source) [forge-1.16.5-36.0.1.jar:36.0] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}

-- System Details -- Details: Minecraft Version: 1.16.5 Minecraft Version ID: 1.16.5 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1449872064 bytes (1382 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB) CPUs: 12 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M ModLauncher: 8.0.9+86+master.3cf110c ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /mixin-0.8.2.jar mixin PLUGINSERVICE /eventbus-4.0.0.jar eventbus PLUGINSERVICE /forge-1.16.5-36.0.1.jar object_holder_definalize PLUGINSERVICE /forge-1.16.5-36.0.1.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE /forge-1.16.5-36.0.1.jar capability_inject_definalize PLUGINSERVICE /forge-1.16.5-36.0.1.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE /OptiFine_1.16.5_HD_U_G6.jar OptiFine TRANSFORMATIONSERVICE /forge-1.16.5-36.0.1.jar fml TRANSFORMATIONSERVICE FML: 36.0 Forge: net.minecraftforge:36.0.1 FML Language Providers: javafml@36.0 minecraft@1 Mod List: forge-1.16.5-36.0.1-client.jar |Minecraft |minecraft |1.16.5 |DONE |NOSIGNATURE forge-1.16.5-36.0.1-universal.jar |Forge |forge |36.0.1 |DONE |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90 cheat_mode-1.16.X-1.2.3.jar |Cheat Mode Mod |cheat_mode |1.2.3 |DONE |NOSIGNATURE Crash Report UUID: 624da746-ff43-4dea-b6a4-bd532ff55b68 Launched Version: 1.16.5-forge-36.0.1 Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1660 SUPER/PCIe/SSE2 GL version 4.6.0 NVIDIA 460.89, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Graphics mode: fancy Resource Packs: Current Language: English (US) CPU: 12x AMD Ryzen 5 3600 6-Core Processor OptiFine Version: OptiFine_1.16.5_HD_U_G6 OptiFine Build: 20210117-013236 Render Distance Chunks: 12 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.0 NVIDIA 460.89 OpenGlRenderer: GeForce GTX 1660 SUPER/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 12

Krxwallo commented 3 years ago

It doesn't work on servers