compatibility with other mods, not crucial for carpetmod
This commit is contained in:
1 parent
8bcb433f72
commit
e25d70cb51
1 file changed
+1
-1
@@ -13,7 +13,7 @@ public class ServerPlayerInteractionManager_antiCheatMixin
|
|||||||
{
|
{
|
||||||
@Shadow public ServerPlayerEntity player;
|
@Shadow public ServerPlayerEntity player;
|
||||||
|
|
||||||
@ModifyConstant(method = "processBlockBreakingAction",
|
@ModifyConstant(method = "processBlockBreakingAction", require = 0,
|
||||||
constant = @Constant(doubleValue = 36D))
|
constant = @Constant(doubleValue = 36D))
|
||||||
private double addDistance(double original) {
|
private double addDistance(double original) {
|
||||||
if (CarpetSettings.antiCheatDisabled)
|
if (CarpetSettings.antiCheatDisabled)
|
||||||
|
|||||||
Reference in new issue
Block a user