Skip to content

Commit

Permalink
ScriptEntityPlus v1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yuttyann committed Jun 22, 2021
1 parent 8c978a7 commit 8004ba6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public class ScriptEntity extends JavaPlugin {

public static final String SBP_VERSION = "2.1.2";

private Updater updater;

@Override
public void onEnable() {
PluginManager manager = getServer().getPluginManager();
Expand Down Expand Up @@ -86,7 +84,7 @@ public void onDisable() {
}

public void checkUpdate(@NotNull CommandSender sender, boolean latestMessage) {
ScriptBlock.getInstance().checkUpdate(sender, updater == null ? updater = new Updater(this) : updater, latestMessage);
ScriptBlock.getInstance().checkUpdate(sender, new Updater(this), latestMessage);
}

public boolean removeArmorStand(@NotNull Entity entity) {
Expand Down

0 comments on commit 8004ba6

Please sign in to comment.