Fix avatar trial status being saved to the database

This commit is contained in:
KingRainbow44 2023-04-20 00:22:29 -04:00
parent de19116191
commit a53328346a
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
2 changed files with 1 additions and 5 deletions

View File

@ -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() {

View File

@ -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());