Skip to content

Commit

Permalink
Fix issue with casting Player, 3.6.4 bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraLS3 committed Aug 18, 2017
1 parent 541eab1 commit 3a5226a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import main.java.com.djrapitops.plan.ui.text.TextUI;
import main.java.com.djrapitops.plan.utilities.HtmlUtils;
import main.java.com.djrapitops.plan.utilities.analysis.Analysis;
import org.bukkit.entity.Player;

import java.util.HashSet;
import java.util.Optional;
Expand Down Expand Up @@ -131,7 +132,7 @@ public void enableAnalysis() {

public void addNotification(ISender sender) {
if (CommandUtils.isPlayer(sender)) {
notifyWhenCached.add(((IPlayer) sender.getSender()).getUuid());
notifyWhenCached.add(((Player) sender.getSender()).getUniqueId());
}
}
}
2 changes: 1 addition & 1 deletion Plan/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Plan
author: Rsl1122
main: main.java.com.djrapitops.plan.Plan
version: 3.6.3
version: 3.6.4
softdepend:
- OnTime
- EssentialsX
Expand Down

0 comments on commit 3a5226a

Please sign in to comment.