Unregister players first
This commit is contained in:
parent
1c902bfad3
commit
a28e8b4069
@ -37,7 +37,7 @@ public class ForgeMain {
|
|||||||
IMP.insertCommands();
|
IMP.insertCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||||
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
||||||
if (event.player.worldObj.isRemote) {
|
if (event.player.worldObj.isRemote) {
|
||||||
return;
|
return;
|
||||||
|
@ -38,7 +38,7 @@ public class ForgeMain {
|
|||||||
IMP.insertCommands();
|
IMP.insertCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||||
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
||||||
if (event.player.worldObj.isRemote) {
|
if (event.player.worldObj.isRemote) {
|
||||||
return;
|
return;
|
||||||
|
@ -38,7 +38,7 @@ public class ForgeMain {
|
|||||||
IMP.insertCommands();
|
IMP.insertCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||||
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
||||||
if (event.player.worldObj.isRemote) {
|
if (event.player.worldObj.isRemote) {
|
||||||
return;
|
return;
|
||||||
|
@ -37,7 +37,7 @@ public class ForgeMain {
|
|||||||
IMP.insertCommands();
|
IMP.insertCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||||
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
|
||||||
if (event.player.worldObj.isRemote) {
|
if (event.player.worldObj.isRemote) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user