Mirror von
https://github.com/St3venAU/ArmorStandTools.git
synchronisiert 2024-12-29 04:50:09 +01:00
*Forgot about skull
Dieser Commit ist enthalten in:
Ursprung
b61949854d
Commit
30fd112c3f
@ -560,7 +560,7 @@ public class MainListener implements Listener {
|
|||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
private void setPlayerSkull(Player p, ArmorStand as) {
|
private void setPlayerSkull(Player p, ArmorStand as) {
|
||||||
Block b = Utils.findAnAirBlock(p.getLocation());
|
Block b = Utils.findAnAirBlock(p.getLocation());
|
||||||
if(b == null) {
|
if(b == null || !checkPermission(p, b)) {
|
||||||
p.sendMessage(ChatColor.RED + Config.noAirError);
|
p.sendMessage(ChatColor.RED + Config.noAirError);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren