Packets for 1.7

This commit is contained in:
Trent Hensler 2019-04-03 20:00:16 -07:00
parent f8386f9969
commit 1700348a53

View File

@ -144,7 +144,7 @@ public class P extends MPlugin {
// since some other plugins execute commands directly through this command interface, provide it
this.getCommand(refCommand).setExecutor(cmdBase);
if (Bukkit.getVersion().contains("1.8")) {
if (Bukkit.getVersion().contains("1.8") || Bukkit.getVersion().contains("1.7")) {
particleProvider = new PacketParticleProvider();
} else {
particleProvider = new BukkitParticleProvider();