-
Bug
-
Resolution: Fixed
-
20w08a
-
None
-
Confirmed
-
Debug
-
Low
The bug
When the server receives incorrect vehicle movement packets (ServerboundMoveVehiclePacket) it logs:
LOGGER.warn("{} moved wrongly!", entity.getName().getString());
where entity is the vehicle. This results in unuseful warnings messages like:
Boat moved wrongly!
It would be better if the message was similar to the one for too fast movement which includes the controlling player:
LOGGER.warn("{} (vehicle of {}) moved too quickly! {},{},{}", entity.getName().getString(), this.player.getName().getString(), ...
How to reproduce (vanilla)
Can currently be seen when reproducing MC-172420
Code analysis
20w08a, Mojang names
Method: net.minecraft.server.network.ServerGamePacketListenerImpl.handleMoveVehicle(ServerboundMoveVehiclePacket)