mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-13 02:01:32 +01:00
better autotip
This commit is contained in:
parent
768eb07413
commit
adce39dfe7
@ -25,6 +25,8 @@ public class ScoreboardMod extends Mod {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
|
this.setUpdated(true);
|
||||||
|
|
||||||
this.addSliderSetting("Scale", this, 1, 0.3, 2, false);
|
this.addSliderSetting("Scale", this, 1, 0.3, 2, false);
|
||||||
|
|
||||||
this.addBooleanSetting("Header Background", this, true);
|
this.addBooleanSetting("Header Background", this, true);
|
||||||
|
@ -36,7 +36,7 @@ public class AutoTipMod extends Mod {
|
|||||||
@EventTarget
|
@EventTarget
|
||||||
public void onTick(ClientTickEvent event) {
|
public void onTick(ClientTickEvent event) {
|
||||||
if(Server.isHypixel()) {
|
if(Server.isHypixel()) {
|
||||||
if(timer.delay(1200000)) {
|
if(timer.delay(15000)) {
|
||||||
Client.logger.info("Attempting to tip: all");
|
Client.logger.info("Attempting to tip: all");
|
||||||
mc.thePlayer.sendChatMessage("/tip all");
|
mc.thePlayer.sendChatMessage("/tip all");
|
||||||
timer.reset();
|
timer.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user