aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/commands/argument
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-09-06 23:02:34 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-09-06 23:02:34 -0400
commit263695053d997e75ec4a10f0de3ea0cb8a0de80c (patch)
treea3d331738b56e0661731511cb46297d51e6ae9cd /src/main/java/org/chrisoft/trashyaddon/commands/argument
parent04b4941e65693f8d6b55f924781d7dd7cd26b1d5 (diff)
downloadmeteor-trashy-addon-dev.tar.xz
1.21 ... maybe (still testing)HEADdev
Special thanks to Xenapte for the 1.20.6 patch.
Diffstat (limited to 'src/main/java/org/chrisoft/trashyaddon/commands/argument')
-rw-r--r--src/main/java/org/chrisoft/trashyaddon/commands/argument/CEntityArgumentType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/chrisoft/trashyaddon/commands/argument/CEntityArgumentType.java b/src/main/java/org/chrisoft/trashyaddon/commands/argument/CEntityArgumentType.java
index c13c08c..e9206f4 100644
--- a/src/main/java/org/chrisoft/trashyaddon/commands/argument/CEntityArgumentType.java
+++ b/src/main/java/org/chrisoft/trashyaddon/commands/argument/CEntityArgumentType.java
@@ -65,7 +65,7 @@ public class CEntityArgumentType implements ArgumentType<CEntitySelector> {
public CEntitySelector parse(StringReader stringReader) throws CommandSyntaxException {
int i = 0;
- CEntitySelectorReader lv = new CEntitySelectorReader(stringReader);
+ CEntitySelectorReader lv = new CEntitySelectorReader(stringReader, true);
CEntitySelector lv2 = lv.read();
if (lv2.getLimit() > 1 && this.singleTarget) {
if (this.playersOnly) {