25 lines
708 B
Java
25 lines
708 B
Java
/*
|
|
* This file is part of ComputerCraft - http://www.computercraft.info
|
|
* Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
|
* Send enquiries to dratcliffe@gmail.com
|
|
*/
|
|
package dan200.computercraft.mixin.gametest;
|
|
|
|
import net.minecraft.SharedConstants;
|
|
import org.spongepowered.asm.mixin.Mixin;
|
|
import org.spongepowered.asm.mixin.Overwrite;
|
|
|
|
// TODO(1.19.4): Remove this
|
|
@Mixin(SharedConstants.class)
|
|
class SharedConstantsMixin {
|
|
/**
|
|
* Disable DFU initialisation.
|
|
*
|
|
* @author SquidDev
|
|
* @reason This doesn't have any impact on gameplay, and slightly speeds up tests.
|
|
*/
|
|
@Overwrite
|
|
public static void enableDataFixerOptimizations() {
|
|
}
|
|
}
|