Skip to content

Commit 9e936d0

Browse files
author
Swofty
committed
fix: correct type conversion in PunishPlayerEndpoint
1 parent 025c300 commit 9e936d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service.punishment/src/main/java/net/swofty/service/punishment/endpoints/PunishPlayerEndpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ public PunishPlayerProtocolObject.PunishPlayerResponse onMessage(ServiceProxyReq
6666
Gson gson = new Gson();
6767
ProxyRedis.publishToProxy(new PunishPlayerProtocol(),
6868
new PunishPlayerProtocol.Request(
69-
messageObject.target(),
69+
messageObject.target().toString(),
7070
messageObject.type(),
71-
id.id(),
71+
id.id().toString(),
7272
messageObject.expiresAt(),
7373
reason.getBanType() != null ? reason.getBanType().name() : null,
7474
reason.getMuteType() != null ? reason.getMuteType().name() : null,

0 commit comments

Comments
 (0)