0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Mark wurst_*() methods in KeyBindingMixin as deprecated to stop warnings

This commit is contained in:
Alexander01998 2024-05-13 12:55:49 +02:00
parent 333b1d265a
commit 267072ef30

View File

@ -26,6 +26,7 @@ public abstract class KeyBindingMixin implements IKeyBinding
@Override
@Unique
@Deprecated // use IKeyBinding.resetPressedState() instead
public void wurst_resetPressedState()
{
long handle = WurstClient.MC.getWindow().getHandle();
@ -35,6 +36,7 @@ public abstract class KeyBindingMixin implements IKeyBinding
@Override
@Unique
@Deprecated // use IKeyBinding.simulatePress() instead
public void wurst_simulatePress(boolean pressed)
{
MinecraftClient mc = WurstClient.MC;