rename biome packet
This commit is contained in:
parent
ffca1f62e5
commit
1eefb197f0
5 changed files with 11 additions and 11 deletions
|
@ -54,7 +54,7 @@ import common.packet.S29PacketSoundEffect;
|
|||
import common.packet.S2APacketParticles;
|
||||
import common.packet.S2BPacketChangeGameState;
|
||||
import common.packet.S2CPacketSpawnGlobalEntity;
|
||||
import common.packet.SPacketBiomes;
|
||||
import common.packet.SPacketBiome;
|
||||
import common.packet.SPacketBlockAction;
|
||||
import common.packet.SPacketBlockBreakAnim;
|
||||
import common.packet.SPacketBlockChange;
|
||||
|
@ -1885,7 +1885,7 @@ public final class WorldServer extends AWorldServer {
|
|||
long v = (long)chunkX + 2147483647L | (long)chunkZ + 2147483647L << 32;
|
||||
PlayerInstance ins = this.instances.getValueByKey(v);
|
||||
if(ins != null)
|
||||
ins.sendToAllPlayersWatchingChunk(new SPacketBiomes(pos, biome));
|
||||
ins.sendToAllPlayersWatchingChunk(new SPacketBiome(pos, biome));
|
||||
}
|
||||
|
||||
private PlayerInstance getPlayerInstance(int chunkX, int chunkZ, boolean create) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue