Compare commits

..

1 Commits

Author SHA1 Message Date
NotMyFault
a72e615790 build: Switch back to upstream SquirrelID 2022-04-18 21:14:38 +02:00
4 changed files with 8 additions and 9 deletions

View File

@@ -57,12 +57,8 @@ public class SetHome extends SetCommand {
Plot base = plot.getBasePlot(false); Plot base = plot.getBasePlot(false);
Location bottom = base.getBottomAbs(); Location bottom = base.getBottomAbs();
Location location = player.getLocationFull(); Location location = player.getLocationFull();
BlockLoc rel = new BlockLoc( BlockLoc rel = new BlockLoc(location.getX() - bottom.getX(), location.getY(),
location.getX() - bottom.getX(), location.getZ() - bottom.getZ(), location.getYaw(), location.getPitch()
location.getY(), // y is absolute
location.getZ() - bottom.getZ(),
location.getYaw(),
location.getPitch()
); );
base.setHome(rel); base.setHome(rel);
player.sendMessage(TranslatableCaption.of("position.position_set")); player.sendMessage(TranslatableCaption.of("position.position_set"));

View File

@@ -1465,7 +1465,7 @@ public class Plot {
.at( .at(
bottom.getWorldName(), bottom.getWorldName(),
bottom.getX() + home.getX(), bottom.getX() + home.getX(),
home.getY(), // y is absolute bottom.getY() + home.getY(),
bottom.getZ() + home.getZ(), bottom.getZ() + home.getZ(),
home.getYaw(), home.getYaw(),
home.getPitch() home.getPitch()

View File

@@ -40,6 +40,9 @@ allprojects {
maven { maven {
name = "Jitpack" name = "Jitpack"
url = uri("https://jitpack.io") url = uri("https://jitpack.io")
content {
includeModule("com.github.MilkBowl", "VaultAPI")
}
} }
maven { maven {

View File

@@ -33,7 +33,7 @@ arkitektonika = "2.1.1"
paster = "1.1.4" paster = "1.1.4"
bstats = "3.0.0" bstats = "3.0.0"
paperlib = "1.0.7" paperlib = "1.0.7"
squirrelid = "0.3.0" squirrelid = "0.3.1"
serverlib = "2.3.1" serverlib = "2.3.1"
http4j = "1.3" http4j = "1.3"
@@ -78,7 +78,7 @@ prtree = { group = "com.intellectualsites.prtree", name = "PRTree", version.ref
aopalliance = { group = "aopalliance", name = "aopalliance", version.ref = "aopalliance" } aopalliance = { group = "aopalliance", name = "aopalliance", version.ref = "aopalliance" }
cloudServices = { group = "cloud.commandframework", name = "cloud-services", version.ref = "cloud-services" } cloudServices = { group = "cloud.commandframework", name = "cloud-services", version.ref = "cloud-services" }
mvdwapi = { group = "com.intellectualsites.mvdwplaceholderapi", name = "MVdWPlaceholderAPI", version.ref = "mvdwapi" } mvdwapi = { group = "com.intellectualsites.mvdwplaceholderapi", name = "MVdWPlaceholderAPI", version.ref = "mvdwapi" }
squirrelid = { group = "com.github.EngineHub", name = "SquirrelID", version.ref = "squirrelid" } squirrelid = { group = "org.enginehub", name = "squirrelid", version.ref = "squirrelid" }
serverlib = { group = "dev.notmyfault.serverlib", name = "ServerLib", version.ref = "serverlib" } serverlib = { group = "dev.notmyfault.serverlib", name = "ServerLib", version.ref = "serverlib" }
bstats = { group = "org.bstats", name = "bstats-bukkit", version.ref = "bstats" } bstats = { group = "org.bstats", name = "bstats-bukkit", version.ref = "bstats" }
paperlib = { group = "io.papermc", name = "paperlib", version.ref = "paperlib" } paperlib = { group = "io.papermc", name = "paperlib", version.ref = "paperlib" }