Skip to content

Commit

Permalink
Update to 1.19.3 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCarlos26 authored Dec 14, 2022
1 parent 862994c commit d3918fd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
org.gradle.jvmargs=-Xmx2G

# Fabric (https://fabricmc.net/versions.html)
minecraft_version=1.19.2
yarn_version=1.19.2+build.9
loader_version=0.14.9
minecraft_version=1.19.3
yarn_version=1.19.3+build.3
loader_version=0.14.11

# Mod Properties
mod_version=0.1
maven_group=meteordevelopment.addons
archives_base_name=orion

meteor_version=0.5.1-SNAPSHOT
meteor_version=0.5.2-SNAPSHOT
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ pluginManagement {
url = 'https://maven.fabricmc.net/'
}
gradlePluginPortal()
jcenter()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import meteordevelopment.meteorclient.settings.SettingGroup;
import meteordevelopment.meteorclient.settings.StringSetting;
import meteordevelopment.meteorclient.systems.modules.Module;
import meteordevelopment.meteorclient.utils.player.ChatUtils;
import meteordevelopment.orbit.EventHandler;
import meteordevelopment.orbit.EventPriority;

Expand Down Expand Up @@ -34,7 +35,7 @@ private void onMessageRecieve(ReceiveMessageEvent event) {
if (msg.startsWith(">")) return; //ignore chat messages
for (String loginMsg: loginMessages) {
if (msg.contains(loginMsg)) {
mc.player.sendCommand("login " + password.get());
ChatUtils.sendPlayerMsg("/login " + password.get());
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import meteordevelopment.meteorclient.utils.player.InvUtils;
import meteordevelopment.meteorclient.utils.world.BlockUtils;
import meteordevelopment.orbit.EventHandler;
import net.minecraft.block.AbstractButtonBlock;
import net.minecraft.block.ButtonBlock;
import net.minecraft.block.AbstractPressurePlateBlock;
import net.minecraft.block.Block;
import net.minecraft.entity.player.PlayerEntity;
Expand Down Expand Up @@ -79,7 +79,7 @@ private void onTick(TickEvent.Pre event) {
if (!AutomationUtils.isBurrowed(target, true) && wasBurrowed) {
info("Broke " + target.getEntityName() + "'s burrow!");
if (preventAfter.get()) {
FindItemResult floorBlock = InvUtils.findInHotbar(itemStack -> Block.getBlockFromItem(itemStack.getItem()) instanceof AbstractPressurePlateBlock || Block.getBlockFromItem(itemStack.getItem()) instanceof AbstractButtonBlock);
FindItemResult floorBlock = InvUtils.findInHotbar(itemStack -> Block.getBlockFromItem(itemStack.getItem()) instanceof AbstractPressurePlateBlock || Block.getBlockFromItem(itemStack.getItem()) instanceof ButtonBlock);
if (!floorBlock.found()) {
warning("No buttons or plates in hotbar, cannot prevent re-burrow.");
toggle();
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"authors": [
"GhostTypes",
"Cloudburst",
"Crosby"
"Crosby",
"RedCarlos"
],
"contact": {
"repo": "https://github.com/GhostTypes/orion"
Expand All @@ -24,7 +25,7 @@
"github:sha": "@gh_hash@"
},
"depends": {
"java": ">=16",
"java": ">=17",
"minecraft": ">=@mc_version@",
"meteor-client": "*"
}
Expand Down

0 comments on commit d3918fd

Please sign in to comment.