alRex-U / ParCool

A Minecraft Forge Mod for action of Cool Parkour
GNU General Public License v3.0
46 stars 34 forks source link

Error on Command Args on server #34

Closed alRex-U closed 2 years ago

alRex-U commented 2 years ago

Summary can not serialize args

Running Environment

Detail While server running, if players send commands, server return command arguments serializing error Such as [Netty Server IO #2/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize com.alrex.parcool.common.command.args.BooleanArgument@7681ec7d (class com.alrex.parcool.common.command.args.BooleanArgument) - will not be sent to client! [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize com.alrex.parcool.common.command.args.ActionNameArgument@cda2759 (class com.alrex.parcool.common.command.args.ActionNameArgument) - will not be sent to client! [Netty Server IO #2/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize com.alrex.parcool.common.command.args.ActionNameArgument@3a6c145f (class com.alrex.parcool.common.command.args.ActionNameArgument) - will not be sent to client! [Netty Server IO #2/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize com.alrex.parcool.common.command.args.BooleanArgument@746a17d1 (class com.alrex.parcool.common.command.args.BooleanArgument) - will not be sent to client!

alRex-U commented 2 years ago

This may be useful?

alRex-U commented 2 years ago

omit commands