Skip to content

Commit 10c084a

Browse files
committed
changelog
1 parent 292ef74 commit 10c084a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ mod_name=Zeta
55
mc_version=1.20.1
66
mapping_channel=official
77
mod_id=zeta
8-
build_number=26
8+
build_number=27
99
dir_output=../Build Output/Zeta/

changelog.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fixed missing anvil event. Added workaround to prevent invalidly placed client events from crashing server
1+
- this update should fix a (not so) rare concurrency issue during modules init when having disabled modules

src/main/java/org/violetmoon/zeta/module/ZetaModule.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ public class ZetaModule {
1212

1313
//all these are just to notify that these will go package private soon. Should be read only! Cant make them final because module is initialized with reflections
1414
@Deprecated(forRemoval = true)
15-
protected Zeta zeta;
15+
public Zeta zeta;
1616
@Deprecated(forRemoval = true)
17-
protected ZetaCategory category;
17+
public ZetaCategory category;
1818

1919
//package protected
2020
@Deprecated(forRemoval = true)
21-
protected String displayName = "";
21+
public String displayName = "";
2222
@Deprecated(forRemoval = true)
23-
protected String lowercaseName = "";
23+
public String lowercaseName = "";
2424
@Deprecated(forRemoval = true)
25-
protected String description = "";
25+
public String description = "";
2626

2727
protected Set<String> antiOverlap = Set.of();
2828

2929
@Deprecated(forRemoval = true)
30-
protected boolean enabled = false;
30+
public boolean enabled = false;
3131
@Deprecated(forRemoval = true)
32-
protected boolean enabledByDefault = false;
32+
public boolean enabledByDefault = false;
3333
@Deprecated(forRemoval = true)
34-
protected boolean disabledByOverlap = false;
34+
public boolean disabledByOverlap = false;
3535
@Deprecated(forRemoval = true)
36-
protected boolean ignoreAntiOverlap = false;
36+
public boolean ignoreAntiOverlap = false;
3737

3838
//hack. Just needed so we can load this, then unload if need in configs and ONLY touch the bus when we know in which state we want to be
3939
boolean finalized = false;

0 commit comments

Comments
 (0)