works for the most part
This commit is contained in:
parent
73668289cf
commit
fa349e7af9
3 changed files with 3758 additions and 3754 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -287,12 +287,16 @@ public class ServerConfigurationManager {
|
||||||
*/
|
*/
|
||||||
public void updateOnRenderDistanceChange(EntityPlayerMP par1EntityPlayerMP) {
|
public void updateOnRenderDistanceChange(EntityPlayerMP par1EntityPlayerMP) {
|
||||||
par1EntityPlayerMP.getServerForPlayer().getEntityTracker().removePlayerFromTrackers(par1EntityPlayerMP);
|
par1EntityPlayerMP.getServerForPlayer().getEntityTracker().removePlayerFromTrackers(par1EntityPlayerMP);
|
||||||
|
par1EntityPlayerMP.getServerForPlayer().getEntityTracker().untrackEntity(par1EntityPlayerMP, true);
|
||||||
par1EntityPlayerMP.getServerForPlayer().getPlayerManager().removePlayer(par1EntityPlayerMP);
|
par1EntityPlayerMP.getServerForPlayer().getPlayerManager().removePlayer(par1EntityPlayerMP);
|
||||||
par1EntityPlayerMP.getServerForPlayer().getPlayerManager().addPlayer(par1EntityPlayerMP);
|
par1EntityPlayerMP.getServerForPlayer().getPlayerManager().addPlayer(par1EntityPlayerMP);
|
||||||
|
par1EntityPlayerMP.getServerForPlayer().getEntityTracker().trackEntity(par1EntityPlayerMP);
|
||||||
|
/*
|
||||||
for (Object loadedChunk : par1EntityPlayerMP.loadedChunks) {
|
for (Object loadedChunk : par1EntityPlayerMP.loadedChunks) {
|
||||||
Chunk chunk = (Chunk) loadedChunk;
|
Chunk chunk = (Chunk) loadedChunk;
|
||||||
par1EntityPlayerMP.getServerForPlayer().getEntityTracker().func_85172_a(par1EntityPlayerMP, chunk);
|
par1EntityPlayerMP.getServerForPlayer().getEntityTracker().func_85172_a(par1EntityPlayerMP, chunk);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue