Fix #401 (tick health) (#440)

* Fix #401

* Cleanup
This commit is contained in:
Andrew S authored and GitHub committed 2020-08-31 17:26:28 -03:00
1 parent 3429bb4b50
commit fb1bee06e1
1 file changed
+3 -3
@@ -38,7 +38,7 @@ public abstract class ServerWorld_tickMixin extends World
@Inject(method = "tick", at = @At( @Inject(method = "tick", at = @At(
value = "CONSTANT", value = "CONSTANT",
args = "stringValue=world border" args = "stringValue=weather"
)) ))
private void startWeatherSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci) private void startWeatherSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci)
{ {
@@ -46,7 +46,7 @@ public abstract class ServerWorld_tickMixin extends World
} }
@Inject(method = "tick", at = @At( @Inject(method = "tick", at = @At(
value = "CONSTANT", value = "CONSTANT",
args = "stringValue=world border" args = "stringValue=chunkSource"
)) ))
private void stopWeatherStartChunkSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci) private void stopWeatherStartChunkSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci)
{ {
@@ -84,7 +84,7 @@ public abstract class ServerWorld_tickMixin extends World
@Inject(method = "tick", at = @At( @Inject(method = "tick", at = @At(
value = "CONSTANT", value = "CONSTANT",
args = "stringValue=tickPending" args = "stringValue=blockEvents"
)) ))
private void stopVillageStartBlockAgainSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci) private void stopVillageStartBlockAgainSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci)
{ {