mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 14:34:28 +00:00
Added support for NightVision enchant
This commit is contained in:
1 parent
77beea05aa
commit
dbfe3d10f6
2 files changed
+41
-6
No files matched your search
@@ -223,7 +223,7 @@ public class KeyTracker {
|
||||
|
||||
private void handleNightVision() {
|
||||
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
|
||||
if(!DarkSteelController.instance.isNightVisionUpgradeEquipped(player)){
|
||||
if(!DarkSteelController.instance.isNightVisionUpgradeOrEnchEquipped(player)){
|
||||
return;
|
||||
}
|
||||
if(nightVisionKey.isPressed()) {
|
||||
|
||||
Reference in new issue
Block a user