mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
Unregister players first
This commit is contained in:
parent
1c902bfad3
commit
a28e8b4069
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user