28 juin 2016, 12:49

Bonjour à tous. Je vous présente mon cas j’ais fais une classe pour pouvoir augmenter la vie maximal du joueur. T’en que le joueur reste dans le même monde ou meurt, la vie n’as pas de probléme mais s’il meurt ou change de monde sa vie maximal est remis à la limite normal. Pour compenser ca j’ais fais une fonction qui fonctionne (vérifié via un item et son itemRightClic).

Le probléme c’est que j’ais voulue que cette fonction sois utilisé dans des events mais alors le jeu crash.

Le rapport de crash :

[14:47:15] [main/INFO] [GradleStart]: Extra: []
[14:47:15] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/yves/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[14:47:16] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[14:47:16] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91
[14:47:16] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:47:16] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[14:47:16] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:47:16] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[14:47:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[14:47:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:47:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[14:47:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:47:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[14:47:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[14:47:21] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:47:22] [main/INFO]: Setting user: Player678
[14:47:25] [Client thread/INFO]: LWJGL Version: 2.9.1
[14:47:27] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
// I feel sad now :(

Time: 28/06/16 14:47
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

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

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 791459256 bytes (754 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.54' Renderer: 'GeForce 840M/PCIe/SSE2'
[14:47:27] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[14:47:27] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[14:47:27] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[14:47:27] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[14:47:28] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[14:47:28] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods
[14:47:36] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[14:47:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT
[14:47:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER
[14:47:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod
[14:47:37] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[14:47:37] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[14:47:37] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[14:47:37] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:47:37] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:47:37] [Client thread/INFO] [FML]: Applying holder lookups
[14:47:37] [Client thread/INFO] [FML]: Holder lookups applied
[14:47:37] [Client thread/INFO] [FML]: Injecting itemstacks
[14:47:37] [Client thread/INFO] [FML]: Itemstack injection complete
[14:47:38] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[14:47:38] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[14:47:38] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[14:47:38] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:47:38] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[14:47:38] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[14:47:38] [Sound Library Loader/INFO]: Sound engine started
[14:47:42] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[14:47:42] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[14:47:42] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client
[14:47:42] [Client thread/INFO] [FML]: Injecting itemstacks
[14:47:42] [Client thread/INFO] [FML]: Itemstack injection complete
[14:47:42] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[14:47:42] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod
[14:47:42] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[14:47:43] [Client thread/INFO]: Created: 512x256 textures/items-atlas
[14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[14:47:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[14:47:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[14:47:43] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[14:47:43] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:47:43] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[14:47:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[14:47:43] [Sound Library Loader/INFO]: Sound engine started
[14:47:53] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[14:47:53] [Server thread/INFO]: Generating keypair
[14:47:53] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[14:47:53] [Server thread/INFO] [FML]: Applying holder lookups
[14:47:53] [Server thread/INFO] [FML]: Holder lookups applied
[14:47:53] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@55f79d5e)
[14:47:53] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@55f79d5e)
[14:47:53] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@55f79d5e)
[14:47:53] [Server thread/INFO]: Preparing start region for level 0
[14:47:54] [Server thread/INFO]: Preparing spawn area: 78%
[14:47:55] [Server thread/INFO]: Changing view distance to 12, from 10
[14:47:55] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@4a0d1cf2:
java.lang.NullPointerException
at Channel.ExtendVieLv.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?]
at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?]
at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?]
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
at net.minecraft.entity.Entity.<init>(Entity.java:224) [Entity.class:?]
at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) [EntityLivingBase.class:?]
at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) [EntityPlayer.class:?]
at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) [EntityPlayerMP.class:?]
at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) [ServerConfigurationManager.class:?]
at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) [NetHandlerLoginServer.class:?]
at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) [NetHandlerLoginServer.class:?]
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) [NetworkManager.class:?]
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
[14:47:55] [Server thread/ERROR] [FML]: Index: 1 Listeners:
[14:47:55] [Server thread/ERROR] [FML]: 0: NORMAL
[14:47:55] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@74943348 onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V
[14:47:55] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Ticking memory connection
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
Caused by: java.lang.NullPointerException
at Channel.ExtendVieLv.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?]
at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?]
at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?]
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?]
at net.minecraft.entity.Entity.<init>(Entity.java:224) ~[Entity.class:?]
at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) ~[EntityLivingBase.class:?]
at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) ~[EntityPlayer.class:?]
at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) ~[EntityPlayerMP.class:?]
at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) ~[ServerConfigurationManager.class:?]
at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) ~[NetHandlerLoginServer.class:?]
at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) ~[NetHandlerLoginServer.class:?]
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) ~[NetworkManager.class:?]
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]
… 5 more
[14:47:55] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-28_14.47.55-server.txt
[14:47:55] [Server thread/INFO]: Stopping server
[14:47:55] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
// Sorry :(

Time: 28/06/16 14:47
Description: Ticking memory connection

java.lang.NullPointerException: Ticking memory connection
at Channel.ExtendVieLv.get(ExtendVieLv.java:40)
at Channel.EventHardler.onEntityConstructing(EventHardler.java:18)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.entity.Entity.<init>(Entity.java:224)
at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155)
at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165)
at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158)
at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443)
at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105)
at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244)
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)

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

-- Head --
Stacktrace:
at Channel.ExtendVieLv.get(ExtendVieLv.java:40)
at Channel.EventHardler.onEntityConstructing(EventHardler.java:18)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.entity.Entity.<init>(Entity.java:224)
at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155)
at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165)
at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158)
at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443)
at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105)
at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244)

-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@5c693daf
Stacktrace:
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 903982696 bytes (862 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
UCHIJAAAA extaziliamod{1.2} [Extazilia Mod] (bin) 
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
[14:47:55] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-28_14.47.55-server.txt
[14:47:55] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
[14:47:55] [Server thread/INFO]: Saving players
[14:47:55] [Server thread/INFO]: Saving worlds
[14:47:55] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[14:47:55] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[14:47:55] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[14:47:55] [Server thread/INFO] [FML]: Unloading dimension 0
[14:47:55] [Server thread/INFO] [FML]: Unloading dimension -1
[14:47:55] [Server thread/INFO] [FML]: Unloading dimension 1
[14:47:55] [Server thread/INFO] [FML]: Applying holder lookups
[14:47:55] [Server thread/INFO] [FML]: Holder lookups applied
[14:47:55] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
[14:47:55] [Client thread/INFO] [FML]: Server terminated.
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

Ma classe d’event :

public class EventHardler {
private EntityPlayer player;

@SubscribeEvent
public void onEntityConstructing(EntityConstructing event) {

if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null)
ExtendVieLv.register((EntityPlayer) event.entity);
ExtendVieLv props = ExtendVieLv.get(player);
props.Lv();}

@SubscribeEvent
public void onLivingDeathEvent(LivingDeathEvent event) {
if (!event.entity.worldObj.isRemote&& event.entity instanceof EntityPlayer) {
NBTTagCompound playerData = new NBTTagCompound();
ExtendVieLv props = ExtendVieLv.get(player);
props.Lv();
((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).saveNBTData(playerData);
CommonProxy.storeEntityData(((EntityPlayer) event.entity).getDisplayName(), playerData);
ExtendVieLv.saveProxyData((EntityPlayer) event.entity);} else {}
}
@SubscribeEvent
public void onEntityJoinWorld(EntityJoinWorldEvent event) {
if (!event.entity.worldObj.isRemote&& event.entity instanceof EntityPlayer) {
NBTTagCompound playerData = CommonProxy.getEntityData(((EntityPlayer) event.entity).getDisplayName());
if (playerData != null) {
ExtendVieLv props = ExtendVieLv.get(player);
props.Lv();
((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).loadNBTData(playerData);}
((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).sync();}}}

Ce qui permettrais normalement à réactualiser la vie maximal du joeur :

ExtendVieLv props = ExtendVieLv.get(player);

props.Lv();

Merci d’avance pour votre aide.</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init>