ygopro-msg-encode 1.1.28 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3872,16 +3872,7 @@ var _YGOProMsgMove = class _YGOProMsgMove extends YGOProMsgBase {
3872
3872
  return view;
3873
3873
  }
3874
3874
  teammateView() {
3875
- const view = this.copy();
3876
- const cl = view.current.location;
3877
- const cp = view.current.position;
3878
- if (cl & (OcgcoreScriptConstants.LOCATION_GRAVE | OcgcoreScriptConstants.LOCATION_OVERLAY)) {
3879
- return view;
3880
- }
3881
- if (cl & (OcgcoreScriptConstants.LOCATION_DECK | OcgcoreScriptConstants.LOCATION_HAND)) {
3882
- view.code = 0;
3883
- }
3884
- return view;
3875
+ return this.opponentView();
3885
3876
  }
3886
3877
  playerView(playerId) {
3887
3878
  if (playerId === 7 /* OBSERVER */) {