mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-13 11:01:57 +01:00
Private constructor for TestingMode to prevent instantiation
This commit is contained in:
parent
7aacd73460
commit
d6f63ee2e9
@ -8,6 +8,10 @@ final class TestingMode {
|
||||
|
||||
private static boolean enabled = false;
|
||||
|
||||
private TestingMode() {
|
||||
// No instantiation
|
||||
}
|
||||
|
||||
static void enable() {
|
||||
enabled = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user