From a250aeb6b6d019b9f271d381a1e7098edf335f93 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 10 Feb 2022 18:08:32 +0100 Subject: [PATCH] Fixing stuff because mojang Signed-off-by: yoyosource --- BauSystem_18/build.gradle | 6 ++++++ .../src/de/steamwar/bausystem/entities/WarpEntity18.java | 4 ++-- build.gradle | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/BauSystem_18/build.gradle b/BauSystem_18/build.gradle index ecacac8c..67d610e7 100644 --- a/BauSystem_18/build.gradle +++ b/BauSystem_18/build.gradle @@ -52,6 +52,12 @@ dependencies { compileOnly 'org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT' compileOnly files("${projectDir}/../lib/Spigot-1.18.jar") + compileOnly 'it.unimi.dsi:fastutil:8.5.6' + compileOnly 'com.mojang:datafixerupper:4.0.26' + compileOnly 'io.netty:netty-all:4.1.68.Final' + compileOnly 'com.mojang:authlib:1.5.25' + compileOnly 'com.mojang:brigadier:1.0.18' + compileOnly files("${projectDir}/../lib/WorldEdit-1.15.jar") compileOnly files("${projectDir}/../lib/SpigotCore.jar") } \ No newline at end of file diff --git a/BauSystem_18/src/de/steamwar/bausystem/entities/WarpEntity18.java b/BauSystem_18/src/de/steamwar/bausystem/entities/WarpEntity18.java index d18bb067..ef61a4b4 100644 --- a/BauSystem_18/src/de/steamwar/bausystem/entities/WarpEntity18.java +++ b/BauSystem_18/src/de/steamwar/bausystem/entities/WarpEntity18.java @@ -32,8 +32,8 @@ public class WarpEntity18 extends BaseArmorStand18 implements AbstractWarpEntity public WarpEntity18(World world, Vector position, String name) { super(world, position); - j(true); - a(true); + this.j(true); + this.a(true); this.name = name; this.e(true); this.S = -12000; diff --git a/build.gradle b/build.gradle index e4b00a46..0d352184 100644 --- a/build.gradle +++ b/build.gradle @@ -62,8 +62,8 @@ ext { compileJava.options.encoding = 'UTF-8' compileJava.options.compilerArgs << '-parameter' -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = 11 +targetCompatibility = 11 mainClassName = ''