29 lines
571 B
Java
29 lines
571 B
Java
package com.discord.utilities.textprocessing.node;
|
|
|
|
import com.PatchConfig;
|
|
import com.discordtest.BuildConfig;
|
|
|
|
import lanchon.dexpatcher.annotation.DexEdit;
|
|
import lanchon.dexpatcher.annotation.DexIgnore;
|
|
import lanchon.dexpatcher.annotation.DexWrap;
|
|
|
|
@DexIgnore//TODO
|
|
public class SpoilerNode {
|
|
|
|
// nospoiler patch
|
|
|
|
@DexIgnore
|
|
private boolean isRevealed;
|
|
|
|
@DexWrap
|
|
public boolean isRevealed() {
|
|
if (!PatchConfig.NOSPOILER_ENABLED) {
|
|
// Patch not enabled
|
|
return isRevealed();
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
}
|