Skip to content

Commit

Permalink
1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Sep 30, 2023
1 parent 58f3fd5 commit 3d55e9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ group = "xyz.jpenilla"
version = "1.8.3-SNAPSHOT".decorateVersion()
description = "Customizable trades for Wandering Traders."

val mcVersion = "1.20.1"
val mcVersion = "1.20.2"

repositories {
mavenCentral()
Expand All @@ -37,7 +37,7 @@ dependencies {
compileOnly("io.papermc.paper", "paper-api", "$mcVersion-R0.1-SNAPSHOT")

implementation("io.papermc", "paperlib", "1.0.8")
implementation("xyz.jpenilla", "legacy-plugin-base", "0.0.1+88-SNAPSHOT")
implementation("xyz.jpenilla", "legacy-plugin-base", "0.0.1+91-SNAPSHOT")
implementation("org.bstats", "bstats-bukkit", "3.0.2")

implementation(platform("cloud.commandframework:cloud-bom:1.8.4"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private VillagerReflection() {
case 17 -> "fF";
case 18 -> "fH";
case 19 -> "fU";
case 20 -> "gf";
case 20 -> "gk";
default -> throw new IllegalStateException("Don't know updateTrades method name for 1." + getMinecraftVersion());
};
try {
Expand Down Expand Up @@ -76,7 +76,7 @@ private VillagerReflection() {
case 16, 17 -> "getBehaviorController";
case 18 -> "du";
case 19 -> "dD";
case 20 -> "dK";
case 20 -> "dN";
default -> throw new IllegalStateException("Don't know getBrain method name for 1." + getMinecraftVersion());
};
LivingEntity_getBrain = Objects.requireNonNull(Crafty.findMethod(EntityLiving_class, getBrainName, Brain_class), "LivingEntity#getBrain");
Expand Down

0 comments on commit 3d55e9f

Please sign in to comment.