Skip to content

Commit

Permalink
removed getter for plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Apr 9, 2024
1 parent f14d27c commit 62a7834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "net.thenextlvl.protect"
version = "2.0.2-pre9"
version = "2.0.2-pre10"

java {
withSourcesJar()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package net.thenextlvl.protect.area;

import core.annotation.MethodsReturnNotNullByDefault;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.*;
import net.thenextlvl.protect.ProtectPlugin;
import net.thenextlvl.protect.event.AreaFlagChangeEvent;
import net.thenextlvl.protect.event.AreaFlagUnsetEvent;
Expand All @@ -26,7 +23,7 @@
@EqualsAndHashCode
@MethodsReturnNotNullByDefault
public abstract class CraftArea implements Area {
private final ProtectPlugin plugin = JavaPlugin.getPlugin(ProtectPlugin.class);
private final @Getter(AccessLevel.NONE) ProtectPlugin plugin = JavaPlugin.getPlugin(ProtectPlugin.class);
private Map<Flag<?>, @Nullable Object> flags = new LinkedHashMap<>();
private final @NamePattern String name;
private final World world;
Expand Down

0 comments on commit 62a7834

Please sign in to comment.