1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-16 18:31:53 +01:00

Fix missing username console death message () ()

This commit is contained in:
Kacper Płażewski 2021-05-17 00:31:40 +02:00
parent f9c3d93f76
commit 282e51eda2

View file

@ -513,7 +513,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // calculate argument position
+ if (argIdx != null) {
+ try {
+ final int idx = Integer.parseInt(argIdx);
+ final int idx = Integer.parseInt(argIdx) - 1;
+ if (idx < args.size()) {
+ consumer.accept(args.get(idx));
+ }