Fix typo in simulatePlayerTick getter

This commit is contained in:
KennyTV 2019-11-22 22:39:34 +01:00
parent 907516eb71
commit 501adc503c
3 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
}
@Override
public boolean isStimulatePlayerTick() {
public boolean isSimulatePlayerTick() {
return simulatePlayerTick;
}

View File

@ -150,7 +150,7 @@ public interface ViaVersionConfig {
*
* @return if true, enabled
*/
boolean isStimulatePlayerTick();
boolean isSimulatePlayerTick();
/**
* Use the item cache to prevent high resource usage

View File

@ -100,7 +100,7 @@ public class Protocol1_9To1_8 extends Protocol {
providers.register(BossBarProvider.class, new BossBarProvider());
providers.register(MainHandProvider.class, new MainHandProvider());
providers.require(MovementTransmitterProvider.class);
if (Via.getConfig().isStimulatePlayerTick()) {
if (Via.getConfig().isSimulatePlayerTick()) {
Via.getPlatform().runRepeatingSync(new ViaIdleThread(), 1L);
}
}