优化mixin代码
This commit is contained in:
parent
67cdecd6c4
commit
a08c226448
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public class MouseHandlerMixin {
|
|||
|
||||
if (mc.player != null && !mc.player.getMainHandItem().isEmpty() && mc.options.getCameraType() == CameraType.FIRST_PERSON) {
|
||||
|
||||
Player player = Minecraft.getInstance().player;
|
||||
Player player = mc.player;
|
||||
ItemStack stack = mc.player.getMainHandItem();
|
||||
|
||||
float fov = ((float) player.getPersistentData().getDouble("fov"));
|
||||
|
|
Loading…
Add table
Reference in a new issue