mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Clean up GameRendererMixin
This commit is contained in:
parent
c6e34d4a68
commit
b9682f6aaf
@ -106,7 +106,8 @@ public abstract class GameRendererMixin
|
||||
method = {
|
||||
"getNightVisionStrength(Lnet/minecraft/entity/LivingEntity;F)F"},
|
||||
cancellable = true)
|
||||
private static void onNightVisionStrength(LivingEntity en, float f, CallbackInfoReturnable<Float> cir)
|
||||
private static void onGetNightVisionStrength(LivingEntity livingEntity,
|
||||
float f, CallbackInfoReturnable<Float> cir)
|
||||
{
|
||||
if(WurstClient.INSTANCE.getHax().fullbrightHack.isNightVisionActive())
|
||||
cir.setReturnValue(1F);
|
||||
|
Loading…
Reference in New Issue
Block a user