修复倍镜倍率切换问题
This commit is contained in:
parent
748066b0d8
commit
7f410be13d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public record SwitchScopeMessage(double scroll) implements CustomPacketPayload {
|
||||||
|
|
||||||
var data = GunData.from(stack);
|
var data = GunData.from(stack);
|
||||||
final var tag = data.tag();
|
final var tag = data.tag();
|
||||||
tag.putBoolean("ScopeAlt", tag.getBoolean("ScopeAlt"));
|
tag.putBoolean("ScopeAlt", !tag.getBoolean("ScopeAlt"));
|
||||||
data.save();
|
data.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue