mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +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() {
|
||||
return "@";
|
||||
return commandBlock.getName();
|
||||
}
|
||||
|
||||
public boolean isOp() {
|
||||
|
|
Loading…
Reference in a new issue