mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-10-26 14:24:30 +00:00
Mixin to override FOV multiplier instead of using the forge event (#361)
* Mixin to speed check instead of using fov event * scratch that, override return value entirely * Revert "scratch that, override return value entirely" This reverts commit20a379d766. * Revert "Mixin to speed check instead of using fov event" This reverts commit22db36d677. * Change to lowest priority event so it is ran last (hopefully)
This commit is contained in:
1 parent
fcb9536d93
commit
4600bca2d0
1 file changed
+2
-1
@@ -276,7 +276,8 @@ public class ClientProxy extends CommonProxy {
|
||||
}
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
// This is a bit of a hack to prevent the FOV from being modified by other mods
|
||||
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||
public void onFOVModifierUpdate(FOVUpdateEvent event) {
|
||||
if (!(boolean)Settings.DYNAMIC_FOV.option.getStore()){
|
||||
event.newfov = 1.0F;
|
||||
|
||||
Reference in new issue
Block a user