Set tick() remap to false
Because vanilla no longer offers this method
This commit is contained in:
parent
940eebbab1
commit
997f03f0e8
|
@ -27,7 +27,7 @@ public abstract class MixinFlywheel extends GeneratingKineticTileEntity{
|
||||||
}
|
}
|
||||||
@Shadow(remap=false)
|
@Shadow(remap=false)
|
||||||
public abstract void setRotation(float speed, float capacity);
|
public abstract void setRotation(float speed, float capacity);
|
||||||
@Inject(at=@At("HEAD"),method="tick")
|
@Inject(at=@At("HEAD"),method="tick",remap = false)
|
||||||
public void sp$tick(CallbackInfo cbi) {
|
public void sp$tick(CallbackInfo cbi) {
|
||||||
Direction at=FlywheelBlock.getConnection(getBlockState());
|
Direction at=FlywheelBlock.getConnection(getBlockState());
|
||||||
if(at!=null) {
|
if(at!=null) {
|
||||||
|
|
Loading…
Reference in a new issue