needs testing
This commit is contained in:
parent
8d6fcd9da0
commit
05379987aa
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -102,7 +102,7 @@ public class PlayerManager {
|
||||||
public EntityPlayerMP cycleAllRenderDistance(EntityPlayerMP player) {
|
public EntityPlayerMP cycleAllRenderDistance(EntityPlayerMP player) {
|
||||||
if(player.lastRenderDistance != player.renderDistance) {
|
if(player.lastRenderDistance != player.renderDistance) {
|
||||||
player.mcServer.getConfigurationManager().viewDistance = player.renderDistance;
|
player.mcServer.getConfigurationManager().viewDistance = player.renderDistance;
|
||||||
player.lastRenderDistance = player.renderDistance;
|
// player.lastRenderDistance = player.renderDistance;
|
||||||
List curList = new ArrayList();
|
List curList = new ArrayList();
|
||||||
curList.addAll(players);
|
curList.addAll(players);
|
||||||
for(int i = 0, l = curList.size(); i < l; ++i) {
|
for(int i = 0, l = curList.size(); i < l; ++i) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user