aboutsummaryrefslogtreecommitdiff
path: root/features/nether
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-03 15:37:19 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-03 15:37:19 +0800
commited04de9848baf3ad2436d5e5537ab2ec61676bc4 (patch)
tree4fac9ab486de1c73cb38210579e2c1aa5931f5a2 /features/nether
parentc17b67eebfdb461485e25c02714823cf52771f78 (diff)
downloadSoopyV2-ed04de9848baf3ad2436d5e5537ab2ec61676bc4.tar.gz
SoopyV2-ed04de9848baf3ad2436d5e5537ab2ec61676bc4.tar.bz2
SoopyV2-ed04de9848baf3ad2436d5e5537ab2ec61676bc4.zip
+ f7 unfinished terminal waypoints
Diffstat (limited to 'features/nether')
-rw-r--r--features/nether/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/features/nether/index.js b/features/nether/index.js
index 0d84003..d63cf0e 100644
--- a/features/nether/index.js
+++ b/features/nether/index.js
@@ -55,7 +55,12 @@ class Nether extends Feature {
this.disciplineOverlay = new ToggleSetting("Show overlay for zombies in dojo discipline", "", true, "dojo_discipline", this).contributor("Empa")
this.hostageWaypoints = new ToggleSetting("Show hostage waypoints", "Waypoint for location of hostage in rescue missions", true, "hostage_waypoint", this)
this.slugfishTimer = new ToggleSetting("Show timer over rod", "This may help with fishing slugfish", false, "slugfish_timer", this)
- this.registerCustom("packetReceived", this.packetReceived).registeredWhen(() => this.isInDojo())
+ let packetRecieved = this.registerCustom("packetReceived", this.packetReceived).registeredWhen(() => this.isInDojo())
+
+ try {
+ packetRecieved.trigger.setPacketClasses([net.minecraft.network.play.server.S23PacketBlockChange, net.minecraft.network.play.server.S22PacketMultiBlockChange])
+ } catch (e) { }//older ct version
+
this.registerStep(true, 1, this.step1S).registeredWhen(() => this.isInNether())
this.registerEvent("renderWorld", this.renderWorld).registeredWhen(() => this.isInNether())