mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 03:12:52 +08:00
Fix avatar trial status being saved to the database
This commit is contained in:
parent
de19116191
commit
a53328346a
@ -106,7 +106,7 @@ public class Avatar {
|
||||
@Getter @Setter private int fromParentQuestId = 0;
|
||||
// so far no outer class or prop value has information of this, but from packet:
|
||||
// 1 = normal, 2 = trial avatar
|
||||
@Getter @Setter private int avatarType = Type.NORMAL.getNumber();
|
||||
@Transient @Getter @Setter private int avatarType = Type.NORMAL.getNumber();
|
||||
|
||||
@Deprecated // Do not use. Morhpia only!
|
||||
public Avatar() {
|
||||
|
@ -166,7 +166,6 @@ public final class RegionHandler implements Router {
|
||||
// Use the CN region list.
|
||||
QueryAllRegionsEvent event = new QueryAllRegionsEvent(regionListResponsecn);
|
||||
event.call();
|
||||
logger.debug("Connect to Chinese version");
|
||||
|
||||
// Respond with the event result.
|
||||
ctx.result(event.getRegionList());
|
||||
@ -176,7 +175,6 @@ public final class RegionHandler implements Router {
|
||||
// Use the OS region list.
|
||||
QueryAllRegionsEvent event = new QueryAllRegionsEvent(regionListResponse);
|
||||
event.call();
|
||||
logger.debug("Connect to global version");
|
||||
|
||||
// Respond with the event result.
|
||||
ctx.result(event.getRegionList());
|
||||
@ -191,7 +189,6 @@ public final class RegionHandler implements Router {
|
||||
// Use the default region list.
|
||||
QueryAllRegionsEvent event = new QueryAllRegionsEvent(regionListResponse);
|
||||
event.call();
|
||||
logger.debug("Connect to global version");
|
||||
|
||||
// Respond with the event result.
|
||||
ctx.result(event.getRegionList());
|
||||
@ -200,7 +197,6 @@ public final class RegionHandler implements Router {
|
||||
// Use the default region list.
|
||||
QueryAllRegionsEvent event = new QueryAllRegionsEvent(regionListResponse);
|
||||
event.call();
|
||||
logger.debug("Connect to global version");
|
||||
|
||||
// Respond with the event result.
|
||||
ctx.result(event.getRegionList());
|
||||
|
Loading…
Reference in New Issue
Block a user