mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
unchange 1.13 naming
This commit is contained in:
parent
e7d9dbfbcf
commit
9b729dd091
@ -51,8 +51,8 @@ public class EssentialsProtect extends JavaPlugin implements IProtect {
|
||||
pm.registerEvents(entityListener, this);
|
||||
|
||||
if (VersionUtil.getServerBukkitVersion().isHigherThan(VersionUtil.v1_13_2_R01)) {
|
||||
final EssentialsProtectEntityListener_1_13_R1 entityListener1_13_2_r1 = new EssentialsProtectEntityListener_1_13_R1(this);
|
||||
pm.registerEvents(entityListener1_13_2_r1, this);
|
||||
final EssentialsProtectEntityListener_1_13_2_R1 entityListener_1_13_2_r1 = new EssentialsProtectEntityListener_1_13_2_R1(this);
|
||||
pm.registerEvents(entityListener_1_13_2_r1, this);
|
||||
}
|
||||
if (VersionUtil.getServerBukkitVersion().isHigherThan(VersionUtil.v1_14_R01)) {
|
||||
final EssentialsProtectEntityListener_1_14_R1 entityListener_1_14_r1 = new EssentialsProtectEntityListener_1_14_R1(this);
|
||||
|
@ -11,11 +11,11 @@ import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.entity.EntityTransformEvent;
|
||||
|
||||
public class EssentialsProtectEntityListener_1_13_R1 implements Listener {
|
||||
public class EssentialsProtectEntityListener_1_13_2_R1 implements Listener {
|
||||
private final IProtect prot;
|
||||
private final IEssentials ess;
|
||||
|
||||
EssentialsProtectEntityListener_1_13_R1(final IProtect prot) {
|
||||
EssentialsProtectEntityListener_1_13_2_R1(final IProtect prot) {
|
||||
this.prot = prot;
|
||||
this.ess = prot.getEssentialsConnect().getEssentials();
|
||||
}
|
Loading…
Reference in New Issue
Block a user