Skip to content
Snippets Groups Projects
Commit bc701cfa authored by Melledy's avatar Melledy
Browse files

Add missing scene load state to PacketPlayerEnterSceneNotify

parent b9b0f002
Branches
Tags
No related merge requests found
......@@ -44,6 +44,7 @@ public class PacketPlayerEnterSceneNotify extends BasePacket {
public PacketPlayerEnterSceneNotify(Player player, Player target, EnterType type, EnterReason reason, int newScene, Position newPos) {
super(PacketOpcodes.PlayerEnterSceneNotify);
player.setSceneLoadState(SceneLoadState.LOADING);
player.setEnterSceneToken(Utils.randomRange(1000, 99999));
PlayerEnterSceneNotify.Builder proto = PlayerEnterSceneNotify.newBuilder()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment