Skip to content

Commit

Permalink
Update Minecraft Wiki link to new domain after fork (#639)
Browse files Browse the repository at this point in the history
* Update Minecraft Wiki link to new domain after fork

* Update gamepedia links
  • Loading branch information
misode authored Dec 17, 2023
1 parent 37bb939 commit cb3cfd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ Opt:

Returns an array of entities that satisfies the given command selector string `str`, execution position `pos`, execution world `world`, and the ID of the entity that initiated the execution `ctxEntityId`.

Valid selector string values are names of online players and [valid target selector variables](https://minecraft.fandom.com/wiki/Target_selectors#Target_selector_variables).
Valid selector string values are names of online players and [valid target selector variables](https://minecraft.wiki/w/Target_selectors#Target_selector_variables).

Setting `allowUser` to `true` (default value) enables players to be included in the returned array, disables otherwise.

Expand Down
2 changes: 1 addition & 1 deletion src/lib/experience.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function getXpRequired (level, toLevel) {

function getBaseXpFromLevel (level) {
// The equations in this function are stupid and directly from the MC Wiki
// http://minecraft.gamepedia.com/Experience#Leveling_up
// http://minecraft.wiki/w/Experience#Leveling_up
if (level <= 16) {
return level * level + 6 * level
} else if (level <= 31) {
Expand Down

0 comments on commit cb3cfd0

Please sign in to comment.