-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed migration stuff and now it works just fine
- Loading branch information
1 parent
64d4e7e
commit f74b022
Showing
19 changed files
with
236 additions
and
149 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
wildcard-core/src/main/java/me/lauriichan/minecraft/wildcard/core/Wildcard.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package me.lauriichan.minecraft.wildcard.core; | ||
|
||
import com.syntaxphoenix.syntaxapi.logging.ILogger; | ||
|
||
import me.lauriichan.minecraft.wildcard.core.settings.PluginSettings; | ||
import me.lauriichan.minecraft.wildcard.core.util.Singleton; | ||
|
||
public final class Wildcard { | ||
|
||
private Wildcard() { | ||
throw new UnsupportedOperationException("Constant provider"); | ||
} | ||
|
||
public static boolean isDebug() { | ||
return Singleton.get(PluginSettings.class).getBoolean("debug", false); | ||
} | ||
|
||
public static ILogger getLogger() { | ||
return Singleton.get(ILogger.class); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
wildcard-core/src/main/java/me/lauriichan/minecraft/wildcard/core/data/Text.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.