mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-29 05:57:44 +00:00
two small activity/event fixes
* fixed GetAcitivityInfoReq proto * added draft to gadget Scene gatget, to let the client know the propper minigame for some entities
This commit is contained in:
parent
59a412cc83
commit
938b54c2ee
@ -219,6 +219,7 @@ public class EntityGadget extends EntityBaseGadget {
|
||||
.setConfigId(this.getConfigId())
|
||||
.setGadgetState(this.getState())
|
||||
.setIsEnableInteract(true)
|
||||
.setDraftId(this.metaGadget.draft_id)
|
||||
.setAuthorityPeerId(this.getScene().getWorld().getHostPeerId());
|
||||
|
||||
if (this.getContent() != null) {
|
||||
|
@ -12,6 +12,7 @@ public class SceneGadget extends SceneObject{
|
||||
public SceneBossChest boss_chest;
|
||||
public int interact_id;
|
||||
public boolean isOneoff;
|
||||
public int draft_id;
|
||||
|
||||
public void setIsOneoff(boolean isOneoff){
|
||||
this.isOneoff = isOneoff;
|
||||
|
Loading…
Reference in New Issue
Block a user