[O] Optimize user response
This commit is contained in:
@@ -26,6 +26,8 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
import static org.hydev.hyritone.MiscUtils.print;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: Write a description for this class!
|
* TODO: Write a description for this class!
|
||||||
* <p>
|
* <p>
|
||||||
@@ -45,7 +47,14 @@ public class TestCommand extends Command
|
|||||||
@Override
|
@Override
|
||||||
public void execute(String label, IArgConsumer args) throws CommandException
|
public void execute(String label, IArgConsumer args) throws CommandException
|
||||||
{
|
{
|
||||||
Hyritone.seedServerCache.enabled = !Hyritone.seedServerCache.enabled;
|
if (Hyritone.seedServerCache.enabled = !Hyritone.seedServerCache.enabled)
|
||||||
|
{
|
||||||
|
print("Seed xray enabled");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print("Seed xray disabled");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user