Compare commits

...
1 Commits
Author SHA1 Message Date
unknown 831fd763be imports fix attempt 2020-04-27 13:33:30 +02:00
3 changed files with 2 additions and 4 deletions

No files matched your search

+2 -2
View File
@@ -184,8 +184,8 @@
<!--Bukkit-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
@@ -2,7 +2,6 @@ package me.purplex.packetevents;
import com.comphenix.tinyprotocol.*;
import io.netty.channel.Channel;
import me.purplex.packetevents.enums.ServerVersion;
import me.purplex.packetevents.events.packetevent.PacketSendEvent;
import me.purplex.packetevents.events.packetevent.ServerTickEvent;
import me.purplex.packetevents.events.packetevent.PacketReceiveEvent;
@@ -15,7 +15,6 @@ public enum ServerVersion
for(ServerVersion val : vals) {
String valName = val.name().substring(2).replace("_", ".");
if(Bukkit.getBukkitVersion().contains(valName)) {
System.out.println(val + " we got");
return val;
}
}