Improvements related to latest status change broadcast.
This commit is contained in:
parent
a325c3f89c
commit
381308d9e0
@ -154,7 +154,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -413,6 +413,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -159,7 +159,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -418,6 +418,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -159,7 +159,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -418,6 +418,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -159,7 +159,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -418,6 +418,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -157,7 +157,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -418,6 +418,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -10450,13 +10450,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send info to nearby players
|
// send info to nearby players
|
||||||
World.getInstance().forEachVisibleObject(this, PlayerInstance.class, player ->
|
broadcastInfo();
|
||||||
{
|
|
||||||
if (isVisibleFor(player))
|
|
||||||
{
|
|
||||||
sendInfo(player);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -67,10 +67,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,10 +87,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -418,6 +418,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -10456,13 +10456,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send info to nearby players
|
// send info to nearby players
|
||||||
World.getInstance().forEachVisibleObject(this, PlayerInstance.class, player ->
|
broadcastInfo();
|
||||||
{
|
|
||||||
if (isVisibleFor(player))
|
|
||||||
{
|
|
||||||
sendInfo(player);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -67,10 +67,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,10 +87,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -418,6 +418,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -148,8 +148,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
{
|
{
|
||||||
@ -427,6 +425,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -156,7 +156,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -415,6 +415,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -156,7 +156,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -415,6 +415,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -156,7 +156,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -417,6 +417,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -10415,13 +10415,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send info to nearby players
|
// send info to nearby players
|
||||||
World.getInstance().forEachVisibleObject(this, PlayerInstance.class, player ->
|
broadcastInfo();
|
||||||
{
|
|
||||||
if (isVisibleFor(player))
|
|
||||||
{
|
|
||||||
sendInfo(player);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -67,10 +67,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,10 +87,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -417,6 +417,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -10415,13 +10415,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send info to nearby players
|
// send info to nearby players
|
||||||
World.getInstance().forEachVisibleObject(this, PlayerInstance.class, player ->
|
broadcastInfo();
|
||||||
{
|
|
||||||
if (isVisibleFor(player))
|
|
||||||
{
|
|
||||||
sendInfo(player);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -67,10 +67,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,10 +87,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -417,6 +417,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
@ -10415,13 +10415,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send info to nearby players
|
// send info to nearby players
|
||||||
World.getInstance().forEachVisibleObject(this, PlayerInstance.class, player ->
|
broadcastInfo();
|
||||||
{
|
|
||||||
if (isVisibleFor(player))
|
|
||||||
{
|
|
||||||
sendInfo(player);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -67,10 +67,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,10 +87,7 @@ public class PeaceZone extends ZoneType
|
|||||||
// Send player info to nearby players.
|
// Send player info to nearby players.
|
||||||
if (creature.isPlayer())
|
if (creature.isPlayer())
|
||||||
{
|
{
|
||||||
World.getInstance().forEachVisibleObject(creature, PlayerInstance.class, nearby ->
|
creature.broadcastInfo();
|
||||||
{
|
|
||||||
creature.sendInfo(nearby);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
|
|
||||||
client.setClientTracert(tracert);
|
client.setClientTracert(tracert);
|
||||||
|
|
||||||
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
player.broadcastUserInfo();
|
||||||
|
|
||||||
// Restore to instanced area if enabled
|
// Restore to instanced area if enabled
|
||||||
if (Config.RESTORE_PLAYER_INSTANCE)
|
if (Config.RESTORE_PLAYER_INSTANCE)
|
||||||
@ -417,6 +417,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setSpawnProtection(true);
|
player.setSpawnProtection(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.spawnMe(player.getX(), player.getY(), player.getZ());
|
||||||
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
|
||||||
|
|
||||||
player.getInventory().applyItemSkills();
|
player.getInventory().applyItemSkills();
|
||||||
|
Loading…
Reference in New Issue
Block a user