Make a:activity and #activity not private

This commit is contained in:
Heliosares
2024-02-04 15:02:28 -05:00
parent d40c64d6e2
commit 7f1b523b7d
3 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>AuxProtect</groupId>
<artifactId>AuxProtect</artifactId>
<version>1.3-pre2</version>
<version>1.3-pre3</version>
<name>AuxProtect</name>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>

View File

@@ -1140,7 +1140,7 @@ public class Parameters implements Cloneable {
}
public boolean isEnabled() {
if (this == PLAYBACK || this == INCREMENTAL_POS || this == XRAY || this == RETENTION || this == ACTIVITY) {
if (this == PLAYBACK || this == INCREMENTAL_POS || this == XRAY || this == RETENTION) {
return AuxProtectAPI.getInstance().getAPConfig().isPrivate();
}
return true;

View File

@@ -347,7 +347,6 @@ public final class AuxProtectSpigot extends JavaPlugin implements IAuxProtect {
EntryAction.CENSOR.setEnabled(false);
EntryAction.IGNOREABANDONED.setEnabled(false);
EntryAction.VEIN.setEnabled(false);
EntryAction.ACTIVITY.setEnabled(false);
}
// This is a patch for when reloading the plugin, online players will receive