Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
831fd763be |
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user