Skip to content

Commit

Permalink
Fix powder not tracking inside mineshaft
Browse files Browse the repository at this point in the history
  • Loading branch information
bowser0000 committed Apr 14, 2024
1 parent 3a3ceea commit 961dad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/Danker/features/PowderTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void onTick(TickEvent.ClientTickEvent event) {
if (event.phase != TickEvent.Phase.START) return;

if (DankersSkyblockMod.tickAmount % 20 == 0) {
if (Utils.currentLocation == Location.DWARVEN_MINES || Utils.currentLocation == Location.CRYSTAL_HOLLOWS) {
if (Utils.currentLocation == Location.DWARVEN_MINES || Utils.currentLocation == Location.CRYSTAL_HOLLOWS || Utils.currentLocation == Location.MINESHAFT)) {
if (Minecraft.getMinecraft().getNetHandler() == null) return;
Collection<NetworkPlayerInfo> players = Minecraft.getMinecraft().getNetHandler().getPlayerInfoMap();
for (NetworkPlayerInfo player : players) {
Expand Down

0 comments on commit 961dad6

Please sign in to comment.