[BUG] [1.12] Inventory/chat player visibility when against a wall
mjaske opened this issue · 9 comments
When Shoulder Surfing, if you have your back against a wall, it automatically hides your player to allow for better vision, a fantastic feature. However, if you then are in your inventory or typing in chat, your player becomes visible again. This is irritating if you want to see when organising pots/food in your inventory mid fight and you are in a corner or something.
To reproduce simply go into Shoulder Surfing mode from behind the player and back up to a wall. Press E or T.
Bug occurs with latest version of Shoulder Surfing in Minecraft 1.12.
This is in coflict with issue #19
How can I change this myself? Or would it be possible to add an option to enable/disable this feature?
I dont see a reason to make this a config option but you can do it on your own as follows:
Prerequisites
- Install Java 8 Development Kit and add it to the PATH environment variable
- Install git
Build
Open a terminal and run the following commands:
git clone https://github.com/Exopandora/ShoulderSurfing.git
cd ShoulderSurfing
git checkout 1.12.2
- Remove
&& Minecraft.getMinecraft().currentScreen == null
from line 58 insrc/main/java/com/teamderpy/shouldersurfing/event/ClientEventHandler.java
- Linux:
gradlew build
Windows:gradlew.bat build
You may have to run gradlew setupDecompWorkspace
before the last command.
I have managed to install all requirements, however, I do not understand step 4. How do I remove this line in the terminal?
Ok, I have followed all the instructions, and successfully built it. Just not sure where I have done this, where do I go to get the new file and put it in my mods folder?