diff --git a/Spigot-API-Patches/Require-Java-8.patch b/Spigot-API-Patches/Require-Java-8.patch new file mode 100644 index 0000000000..6c6a27f267 --- /dev/null +++ b/Spigot-API-Patches/Require-Java-8.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Zach Brown <1254957+zachbr@users.noreply.github.com> +Date: Fri, 8 Jan 2016 23:50:25 -0600 +Subject: [PATCH] Require Java 8 + + +diff --git a/pom.xml b/pom.xml +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -0,0 +0,0 @@ + An enhanced plugin API for Minecraft servers. + + +- 1.6 +- 1.6 ++ ++ 1.8 ++ 1.8 + UTF-8 + + +@@ -0,0 +0,0 @@ + + + +- org.codehaus.mojo +- animal-sniffer-maven-plugin +- 1.13 +- +- +- process-classes +- +- check +- +- +- +- +- +- org.codehaus.mojo.signature +- java16 +- 1.1 +- +- +- +- + org.apache.maven.plugins + maven-shade-plugin + 2.3 +-- \ No newline at end of file diff --git a/Spigot-Server-Patches/Require-Java-8.patch b/Spigot-Server-Patches/Require-Java-8.patch new file mode 100644 index 0000000000..c60de40ace --- /dev/null +++ b/Spigot-Server-Patches/Require-Java-8.patch @@ -0,0 +1,63 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Zach Brown <1254957+zachbr@users.noreply.github.com> +Date: Fri, 8 Jan 2016 23:50:25 -0600 +Subject: [PATCH] Require Java 8 + + +diff --git a/pom.xml b/pom.xml +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -0,0 +0,0 @@ + 1_8_R3 + git-Bukkit- + +- 1.6 +- 1.6 ++ ++ 1.8 ++ 1.8 + + + +@@ -0,0 +0,0 @@ + + + +- org.codehaus.mojo +- animal-sniffer-maven-plugin +- 1.13 +- +- +- process-classes +- +- check +- +- +- +- +- +- org.codehaus.mojo.signature +- java16 +- 1.1 +- +- +- +- + org.apache.maven.plugins + maven-shade-plugin + 2.3 +diff --git a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java ++++ b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java +@@ -0,0 +0,0 @@ public class PathfinderGoalNearestAttackableTarget exten + protected final Class a; + private final int g; + protected final PathfinderGoalNearestAttackableTarget.DistanceComparator b; +- protected Predicate c; ++ protected Predicate c; + protected EntityLiving d; + + public PathfinderGoalNearestAttackableTarget(EntityCreature entitycreature, Class oclass, boolean flag) { +-- \ No newline at end of file