View Distance
This commit allows the user to select per world view distances. By: md_5 <git@md-5.net>
This commit is contained in:
parent
5240271410
commit
127d8c1595
3 changed files with 62 additions and 25 deletions
|
@ -125,8 +125,8 @@
|
|||
- int j = server.getPlayerList().getViewDistance();
|
||||
- int k = server.getPlayerList().getSimulationDistance();
|
||||
+ StructureTemplateManager structuretemplatemanager = minecraftserver.getStructureManager();
|
||||
+ int j = minecraftserver.getPlayerList().getViewDistance();
|
||||
+ int k = minecraftserver.getPlayerList().getSimulationDistance();
|
||||
+ int j = this.spigotConfig.viewDistance; // Spigot
|
||||
+ int k = this.spigotConfig.simulationDistance; // Spigot
|
||||
PersistentEntitySectionManager persistententitysectionmanager = this.entityManager;
|
||||
|
||||
Objects.requireNonNull(this.entityManager);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue