mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Alowed performing undos from other player sessions, if they exist.
This commit is contained in:
@ -173,6 +173,16 @@ public class WorldEdit {
|
||||
commands.register(ToolCommands.class);
|
||||
commands.register(UtilityCommands.class);
|
||||
}
|
||||
|
||||
/*
|
||||
* Gets the LocalSession for a player name if it exists
|
||||
*
|
||||
* @param player
|
||||
* @return The session for the player, if it exists
|
||||
*/
|
||||
public LocalSession getSession(String player) {
|
||||
return sessions.get(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the WorldEdit session for a player.
|
||||
|
Reference in New Issue
Block a user