1
0
Fork 0

Update dependencies

This commit is contained in:
Ryan Fox 2020-05-29 07:26:18 +00:00
parent 20c9184a44
commit 6c8b3433fe
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.2.6-SNAPSHOT'
id 'fabric-loom' version '0.2.7-SNAPSHOT'
}
repositories {
@ -11,9 +11,9 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modCompile "org.json:json:20190722"
modCompile "org.json:json:20200518"
modImplementation "com.google.code.findbugs:jsr305:3.0.2"
include "org.json:json:20190722"
include "org.json:json:20200518"
}
jar {

View File

@ -1,8 +1,8 @@
org.gradle.jvmargs=-Xmx1G
minecraft_version=1.15.1
yarn_mappings=1.15.1+build.1
loader_version=0.7.2+build.175
minecraft_version=1.15.2
yarn_mappings=1.15.2+build.15
loader_version=0.8.2+build.194
mod_version = 1.0.0
maven_group = party.2a03.mc
archives_base_name = minecraft-tweaks-2a03
fabric_version=0.4.25+build.282-1.15
fabric_version=0.5.1+build.294-1.15

View File

@ -19,7 +19,7 @@ public abstract class MixinServerPlayerEntity extends PlayerEntity {
private void OnServerPlayerSpawn(CallbackInfo ci) {
PlayerPosition position = new PlayerPosition(Config.getData("spawn"));
if (position.dimensiontype == this.dimension) {
this.setPositionAndAngles(position.x, position.y, position.z, position.yaw, position.pitch);
this.updatePositionAndAngles(position.x, position.y, position.z, position.yaw, position.pitch);
ci.cancel();
}
}

View File

@ -23,7 +23,7 @@
"minecraft-tweaks-2a03.mixins.json"
],
"depends": {
"fabricloader": ">=0.7.2",
"fabricloader": ">=0.8.2",
"fabric": "*",
"minecraft": "1.15.x"
}