mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 21:57:40 +00:00
Fix Respawn Event Issue
This commit is contained in:
1 parent
23b55c343f
commit
db55dee048
1 file changed
+1
-1
@@ -286,7 +286,7 @@ public class ServerEventsHandler {
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onPlayerRespawn(PlayerEvent.PlayerRespawnEvent event) {
|
||||
public void onPlayerRespawn(cpw.mods.fml.common.gameevent.PlayerEvent.PlayerRespawnEvent event) {
|
||||
if (event.player == null || event.player.worldObj == null || event.player.worldObj.isRemote)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user