修复部分bug
This commit is contained in:
@@ -38,7 +38,7 @@ mod_name=maid useful task
|
||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=MIT
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=1.3.1
|
||||
mod_version=1.3.2
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
||||
@@ -69,7 +69,7 @@ abstract public class VehicleBroomMixin extends AbstractEntityFromItem implement
|
||||
this.maid_useful_tasks$vc_type = MaidVehicleControlType.NONE;
|
||||
}
|
||||
|
||||
@Inject(method = "tickRidden", at = @At(value = "INVOKE", target = "Lcom/github/tartaricacid/touhoulittlemaid/entity/item/AbstractEntityFromItem;tickRidden(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/phys/Vec3;)V"))
|
||||
@Inject(method = "tickRidden", at = @At(value = "TAIL"))
|
||||
public void maid_useful_tasks$tickRidden(CallbackInfo ci) {
|
||||
if (maid_useful_tasks$vc_type == MaidVehicleControlType.NONE) {
|
||||
return;
|
||||
|
||||
@@ -45,7 +45,7 @@ public class MaidRevivePlayerTask implements IMaidTask {
|
||||
|
||||
@Override
|
||||
public boolean isEnable(EntityMaid maid) {
|
||||
return PlayerRevive.isEnable() && Config.enableReviveAggro;
|
||||
return PlayerRevive.isEnable() && Config.enableReviveTask;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -70,4 +70,11 @@ description='''${mod_description}'''
|
||||
versionRange="[1.2.2,)"
|
||||
ordering="AFTER"
|
||||
side="BOTH"
|
||||
[[dependencies."${mod_id}"]]
|
||||
modId="playerrevive"
|
||||
mandatory=false
|
||||
versionRange="[2.0.16,)"
|
||||
ordering="AFTER"
|
||||
side="BOTH"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user