mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-04-06 07:52:43 +02:00
[BREAKING CHANGE] proto auto compiled by gradle (#226)
* [BREAK] proto auto compiled by gradle * [BREAK] move proto to submodule * update gitmodules * [BREAK] move proto to submodule * move proto to submodule * fix merge conflict * fix github action after merging * fix merge conflicts and del submodule * upload the proto
This commit is contained in:
@@ -397,7 +397,7 @@ public class TeamManager {
|
||||
this.setCurrentCharacterIndex(index);
|
||||
|
||||
// Old entity motion state
|
||||
oldEntity.setMotionState(MotionState.MotionStandby);
|
||||
oldEntity.setMotionState(MotionState.MOTION_STANDBY);
|
||||
|
||||
// Remove and Add
|
||||
getPlayer().getScene().replaceEntity(oldEntity, newEntity);
|
||||
@@ -476,7 +476,7 @@ public class TeamManager {
|
||||
}
|
||||
|
||||
// Teleport player
|
||||
getPlayer().sendPacket(new PacketPlayerEnterSceneNotify(getPlayer(), EnterType.EnterSelf, EnterReason.Revival, 3, GenshinConstants.START_POSITION));
|
||||
getPlayer().sendPacket(new PacketPlayerEnterSceneNotify(getPlayer(), EnterType.ENTER_SELF, EnterReason.Revival, 3, GenshinConstants.START_POSITION));
|
||||
|
||||
// Set player position
|
||||
player.setSceneId(3);
|
||||
|
||||
Reference in New Issue
Block a user