Improved action use transform log.

Contributed by Sahar.
This commit is contained in:
MobiusDevelopment
2019-10-30 02:03:43 +00:00
parent 0d91638e7b
commit 05c57df3c0
17 changed files with 17 additions and 17 deletions

View File

@@ -93,7 +93,7 @@ public class RequestActionUse implements IClientIncomingPacket
if (!(Arrays.binarySearch(allowedActions, _actionId) >= 0))
{
client.sendPacket(ActionFailed.STATIC_PACKET);
LOGGER.warning("Player " + player + " used action which he does not have! Id = " + _actionId + " transform: " + player.getTransformation().orElse(null));
LOGGER.warning("Player " + player + " used action which he does not have! Id = " + _actionId + " transform: " + player.getTransformation().get().getId());
return;
}
}