1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 11:37:30 +02:00

Pass the actual player object to Bukkit.

This commit is contained in:
md_5
2012-06-11 08:45:15 +10:00
parent c4473e0307
commit cd8c5d7861
2 changed files with 1 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ public class EssentialsPlayerListener implements Listener
{
if (!user.isAuthorized("essentials.vanish.see"))
{
user.hidePlayer(ess.getUser(p));
user.hidePlayer(ess.getUser(p).getBase());
}
}

View File

@@ -2,7 +2,6 @@ package com.earth2me.essentials.commands;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.User;
import org.bukkit.ChatColor;
import org.bukkit.Server;
import org.bukkit.entity.Player;