Remove Xray until a better patch is found, Search works great
This commit is contained in:
parent
38e8cee13f
commit
9c23908d4c
|
@ -33,7 +33,7 @@ public final class CommandManager {
|
|||
this.commandList.add(new HideCommand());
|
||||
this.commandList.add(new ColorCommand());
|
||||
this.commandList.add(new BindCommand());
|
||||
this.commandList.add(new XrayCommand());
|
||||
//this.commandList.add(new XrayCommand()); //TODO: Change when xray is updated
|
||||
this.commandList.add(new FriendCommand());
|
||||
this.commandList.add(new PeekCommand());
|
||||
this.commandList.add(new SpectateCommand());
|
||||
|
|
|
@ -57,7 +57,7 @@ public final class ConfigManager {
|
|||
});
|
||||
|
||||
this.configurableList.add(new FriendConfig(configDir));
|
||||
this.configurableList.add(new XrayConfig(configDir));
|
||||
//this.configurableList.add(new XrayConfig(configDir)); //TODO: Change when xray is updated
|
||||
this.configurableList.add(new SearchConfig(configDir));
|
||||
this.configurableList.add(new MacroConfig(configDir));
|
||||
this.configurableList.add(new WaypointsConfig(configDir));
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class ModuleManager {
|
|||
add(new NoPushModule());
|
||||
add(new GodModeModule());
|
||||
add(new BlinkModule());
|
||||
add(new XrayModule());
|
||||
//add(new XrayModule()); disabled until we can find a better performance patch, use search for now
|
||||
add(new NoSlowDownModule());
|
||||
add(new NoHurtCamModule());
|
||||
add(new JesusModule());
|
||||
|
|
|
@ -50,7 +50,7 @@ public final class SearchModule extends Module {
|
|||
private final ICamera frustum = new Frustum();
|
||||
|
||||
public SearchModule() {
|
||||
super("Search", new String[]{"srch", "find", "locate"}, "Search for different types of blocks. Enter the \"search\" command.", "NONE", -1, ModuleType.RENDER);
|
||||
super("Search", new String[]{"srch", "xray"}, "Search for different types of blocks. Enter the \"search\" command.", "NONE", -1, ModuleType.RENDER);
|
||||
|
||||
this.blockIds.setValue(new ArrayList<>());
|
||||
|
||||
|
|
|
@ -67,10 +67,12 @@ public final class XrayModule extends Module {
|
|||
*/
|
||||
@Listener
|
||||
public void shouldSideBeRendered(EventRenderBlockSide event) {
|
||||
/*if (this.contains(Block.getIdFromBlock(event.getBlock()))) {
|
||||
/*
|
||||
if (this.contains(event.getBlock())) {
|
||||
event.setRenderable(true);
|
||||
}
|
||||
event.setCanceled(true);*/
|
||||
event.setCanceled(true);
|
||||
*/
|
||||
}
|
||||
|
||||
@Listener
|
||||
|
|
Loading…
Reference in New Issue