Add signular comment
This commit is contained in:
parent
c53c38c0ec
commit
40d824c26e
@ -33,8 +33,8 @@ public class QuidProQuo extends JavaPlugin {
|
|||||||
getLogger().info("Loading rituals...");
|
getLogger().info("Loading rituals...");
|
||||||
getServer().getPluginManager().registerEvents(new Events(), this);
|
getServer().getPluginManager().registerEvents(new Events(), this);
|
||||||
|
|
||||||
|
// auto-register rituals
|
||||||
Set<Class<? extends Ritual>> subClasses = (new Reflections()).getSubTypesOf(Ritual.class);
|
Set<Class<? extends Ritual>> subClasses = (new Reflections()).getSubTypesOf(Ritual.class);
|
||||||
|
|
||||||
for (Class<? extends Ritual> ritualClass : subClasses) {
|
for (Class<? extends Ritual> ritualClass : subClasses) {
|
||||||
Class<?>[] params = {};
|
Class<?>[] params = {};
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user