mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-21 18:15:32 +01:00
Prevent duplicate ZNPCsPlus 2.x listener
This commit is contained in:
parent
3359fd3175
commit
7a581532cf
@ -216,9 +216,7 @@ public class BukkitQuestsPlugin extends JavaPlugin implements Quests {
|
||||
if (depends.getZnpcsPlus() != null) {
|
||||
getServer().getPluginManager().registerEvents(getZnpcsListener(), this);
|
||||
}
|
||||
if (depends.getZnpcsPlusApi() != null) {
|
||||
getServer().getPluginManager().registerEvents(getZNpcsPlusListener(), this);
|
||||
}
|
||||
depends.linkZnpcsPlusApi();
|
||||
getServer().getPluginManager().registerEvents(getPlayerListener(), this);
|
||||
if (configSettings.getStrictPlayerMovement() > 0) {
|
||||
final long ticks = configSettings.getStrictPlayerMovement() * 20L;
|
||||
|
Loading…
Reference in New Issue
Block a user