Temporarily disable anti-xray in UHC

This commit is contained in:
cnr 2016-07-16 23:08:18 -05:00
parent 34f718b2ec
commit 0ae4b0c5e0

View File

@ -41,7 +41,6 @@ import nautilus.game.arcade.game.games.uhc.helpers.ChunkLoadingThread;
import nautilus.game.arcade.game.games.uhc.helpers.WorldGenThread;
import nautilus.game.arcade.game.modules.OreVeinEditorModule;
import nautilus.game.arcade.game.modules.TeamModule;
import nautilus.game.arcade.game.modules.antixray.AntiXrayModule;
import nautilus.game.arcade.game.modules.combatlog.CombatLogModule;
import nautilus.game.arcade.game.modules.combatlog.CombatLogNPC;
import nautilus.game.arcade.kit.Kit;
@ -277,31 +276,6 @@ public class UHC extends TeamGame implements NCPHook
NCPHookManager.addHook(CheckType.ALL, this);
registerModule(new TeamModule());
registerModule(new AntiXrayModule())
.setEnabled(true)
.setUpdateOnDamage(true)
.setAntiTexturePacksAndFreecam(false)
.setUseProximityHider(false)
.setEngineMode(2)
.setInitialRadius(1)
.setUpdateRadius(2)
.setObfuscateBlocks(
Material.GOLD_ORE,
Material.IRON_ORE,
Material.LAPIS_ORE,
Material.DIAMOND_ORE,
Material.REDSTONE_ORE,
Material.GLOWING_REDSTONE_ORE,
Material.EMERALD_ORE
)
.setRandomBlocks(
Material.GOLD_ORE,
Material.IRON_ORE,
Material.LAPIS_ORE,
Material.DIAMOND_ORE,
Material.REDSTONE_ORE,
Material.EMERALD_ORE
);
}
@Override