Changed the wiki link in README.md

This commit is contained in:
themode 2020-11-03 18:22:36 +01:00
parent d09c2756aa
commit b575d6df57
3 changed files with 4 additions and 4 deletions

2
.github/README.md vendored
View File

@ -30,7 +30,7 @@ Our own expanded version for Vanilla can be found [here](https://github.com/Mine
# Usage # Usage
An example of how to use the Minestom library is available [here](/src/test/java/demo). An example of how to use the Minestom library is available [here](/src/test/java/demo).
Alternatively you can check the official wiki [here](https://github.com/Minestom/Minestom/wiki). Alternatively you can check the official wiki [here](https://wiki.minestom.com/).
# Why Minestom? # Why Minestom?
Minecraft evolved a lot since its release, most of the servers today do not take advantage of vanilla features and even have to struggle because of them. Our target audience is those who want to make a completely different server compared to default Minecraft gamemode such as survival or creative building. Minecraft evolved a lot since its release, most of the servers today do not take advantage of vanilla features and even have to struggle because of them. Our target audience is those who want to make a completely different server compared to default Minecraft gamemode such as survival or creative building.

View File

@ -442,7 +442,7 @@ public class MinecraftServer {
* @throws IllegalStateException if this is called after the server started * @throws IllegalStateException if this is called after the server started
*/ */
public static void setChunkViewDistance(int chunkViewDistance) { public static void setChunkViewDistance(int chunkViewDistance) {
Check.argCondition(!MathUtils.isBetween(chunkViewDistance, 2, 32), "The chunk view distance needs to be between 2 and 32"); Check.argCondition(!MathUtils.isBetween(chunkViewDistance, 2, 32), "The chunk view distance must be between 2 and 32");
MinecraftServer.chunkViewDistance = chunkViewDistance; MinecraftServer.chunkViewDistance = chunkViewDistance;
if (started) { if (started) {
UpdateViewDistancePacket updateViewDistancePacket = new UpdateViewDistancePacket(); UpdateViewDistancePacket updateViewDistancePacket = new UpdateViewDistancePacket();

View File

@ -115,7 +115,7 @@ public class NettyPlayerConnection extends PlayerConnection {
} }
/** /**
* Get the server address that the client used to connect. * Gets the server address that the client used to connect.
* <p> * <p>
* WARNING: it is given by the client, it is possible for it to be wrong. * WARNING: it is given by the client, it is possible for it to be wrong.
* *
@ -127,7 +127,7 @@ public class NettyPlayerConnection extends PlayerConnection {
} }
/** /**
* Get the server port that the client used to connect. * Gets the server port that the client used to connect.
* <p> * <p>
* WARNING: it is given by the client, it is possible for it to be wrong. * WARNING: it is given by the client, it is possible for it to be wrong.
* *