Unregister players first

This commit is contained in:
Jesse Boyd 2016-10-30 05:27:32 +11:00
parent 1c902bfad3
commit a28e8b4069
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
4 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ public class ForgeMain {
IMP.insertCommands();
}
@SubscribeEvent(priority = EventPriority.HIGHEST)
@SubscribeEvent(priority = EventPriority.LOWEST)
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
if (event.player.worldObj.isRemote) {
return;

View File

@ -38,7 +38,7 @@ public class ForgeMain {
IMP.insertCommands();
}
@SubscribeEvent(priority = EventPriority.HIGHEST)
@SubscribeEvent(priority = EventPriority.LOWEST)
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
if (event.player.worldObj.isRemote) {
return;

View File

@ -38,7 +38,7 @@ public class ForgeMain {
IMP.insertCommands();
}
@SubscribeEvent(priority = EventPriority.HIGHEST)
@SubscribeEvent(priority = EventPriority.LOWEST)
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
if (event.player.worldObj.isRemote) {
return;

View File

@ -37,7 +37,7 @@ public class ForgeMain {
IMP.insertCommands();
}
@SubscribeEvent(priority = EventPriority.HIGHEST)
@SubscribeEvent(priority = EventPriority.LOWEST)
public void onPlayerQuit(PlayerEvent.PlayerLoggedOutEvent event) {
if (event.player.worldObj.isRemote) {
return;