juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
296 stars 50 forks source link

New event api requires java 17 #111

Closed DasBabyPixel closed 1 year ago

DasBabyPixel commented 1 year ago

Pretty sure the new event api requires java 17 making it incompatible with 1.8.8 Gradle wouldn't even let me download the dependency (until I told it to disableAutoTargetJvm(), which took a while to figure out)

image

derklaro commented 1 year ago

Oh shit, I overlooked that - thanks for pointing it out. Nice so that I was able to build a jar targetting Java 8 with a Java 17 dependency 😄 ... I will take a look in the near future, maybe I will just go ahead and implement a simple event bus myself instead of depending on an external dependency for that.

derklaro commented 1 year ago

e7e8b0e0e5226983a2ec25b967416508a29eb044 should resolve this, I'm gonna test this later