mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Minor code changes
This commit is contained in:
@ -576,7 +576,7 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
|
||||
|
||||
public BukkitPlayer getCachedPlayer(Player player) {
|
||||
List<MetadataValue> meta = player.getMetadata("WE");
|
||||
if (meta == null || meta.isEmpty()) {
|
||||
if (meta.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return (BukkitPlayer) meta.get(0).value();
|
||||
|
Reference in New Issue
Block a user