mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Add BukkitPlayer constructor without plugin.
tbh I don't know why we even need to keep the plugin object around.
This commit is contained in:
@ -52,6 +52,10 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
||||
private Player player;
|
||||
private WorldEditPlugin plugin;
|
||||
|
||||
public BukkitPlayer(Player player) {
|
||||
this(WorldEditPlugin.getInstance(), player);
|
||||
}
|
||||
|
||||
public BukkitPlayer(WorldEditPlugin plugin, Player player) {
|
||||
this.plugin = plugin;
|
||||
this.player = player;
|
||||
|
Reference in New Issue
Block a user