Skip to content

Commit

Permalink
Change plugin to use a supplier as being enabled can change
Browse files Browse the repository at this point in the history
  • Loading branch information
JustRed23 committed Nov 28, 2023
1 parent 6619503 commit c65153b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/kettingpowered/ketting/types/Plugin.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package org.kettingpowered.ketting.types;

import java.io.File;
import java.util.function.Supplier;
import java.util.logging.Logger;

public record Plugin(
PluginInfo info,
boolean enabled,
Supplier<Boolean> enabled,
File dataFolder,
Logger logger
) {}

0 comments on commit c65153b

Please sign in to comment.