mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:16:06 +01:00
Use name given to command block instead of "@". Fixes BUKKIT-3803
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
002dd2b7cd
commit
2cad34e872
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…
Add table
Reference in a new issue