mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Use name given to command block instead of "@". Fixes BUKKIT-3803
This commit is contained in:
parent
d802168cd5
commit
5df704bf5a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class CraftBlockCommandSender extends ServerCommandSender implements Bloc
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "@";
|
return commandBlock.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOp() {
|
public boolean isOp() {
|
||||||
|
|
Loading…
Reference in a new issue