We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b2e500 commit b93a898Copy full SHA for b93a898
reference-code/src/main/java/createcommands/executors/NativeSender.java
@@ -33,10 +33,10 @@ class NativeSender {
33
new CommandArgument("command")
34
)
35
.executes((caller, args) -> {
36
- CommandSender callee = args.getUnchecked("target");
37
- Location location = args.getUnchecked("location");
38
- World world = args.getUnchecked("world");
39
- CommandResult command = args.getUnchecked("command");
+ CommandSender callee = (CommandSender) args.get("target");
+ Location location = (Location) args.get("location");
+ World world = (World) args.get("world");
+ CommandResult command = (CommandResult) args.get("command");
40
41
assert callee != null && location != null && world != null && command != null;
42
0 commit comments