Skip to content

Commit

Permalink
correction to view_distance tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 6, 2019
1 parent 8f7afc6 commit dc0b158
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1507,7 +1507,7 @@ else if (attribute.startsWith("source")) {
// @description
// Returns the server's current view distance.
// -->
if (attribute.startsWith("motd")) {
if (attribute.startsWith("view_distance")) {
event.setReplaced(new ElementTag(Bukkit.getServer().getViewDistance()).getAttribute(attribute.fulfill(1)));
return;
}
Expand Down

0 comments on commit dc0b158

Please sign in to comment.