Skip to content

Commit

Permalink
Merge pull request #45 from Alathra/siege-engines-bridge
Browse files Browse the repository at this point in the history
feat: siege engines bridge
  • Loading branch information
ShermansWorld authored Jan 28, 2024
2 parents 504db14 + e7b8dfb commit 06c7c28
Show file tree
Hide file tree
Showing 8 changed files with 203 additions and 130 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
Expand Down
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group = "me.ShermansWorld"
version = "1.22.0"
version = "1.23.0"
description = ""
val mainPackage = "${project.group}.${rootProject.name}"

Expand Down Expand Up @@ -59,6 +59,10 @@ repositories {
}

maven("https://repo.codemc.org/repository/maven-public/")

maven("https://mvn.lumine.io/repository/maven-public/") {
content { includeGroup("io.lumine") }
}
}

dependencies {
Expand Down Expand Up @@ -87,6 +91,8 @@ dependencies {
compileOnly("me.clip:placeholderapi:2.11.5")
compileOnly("dev.cubxity.plugins:unifiedmetrics-api:0.3.8")
compileOnly("nl.rutgerkok:blocklocker:1.10.4")
compileOnly("io.lumine:Mythic-Dist:5.4.1")
compileOnly(files("lib/SiegeEngines-0.7.5.jar"))
}

tasks {
Expand Down
Binary file added lib/SiegeEngines-0.7.6.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
player.getInventory().addItem(Items.getTinyXPPouch());
return true;
}
if (args[1].equalsIgnoreCase("alathran_iron")) {
player.getInventory().addItem(Items.getAlathranIron());
return true;
}
}
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public List<String> onTabComplete(CommandSender sender, Command cmd, String labe
return completions;
} else if (args.length == 2) {
completions.add("tiny_xp_pouch");
completions.add("alathran_iron");
return completions;
}
return Collections.emptyList();
Expand Down
Loading

0 comments on commit 06c7c28

Please sign in to comment.