Use anonymous class to prevent exception.
Sadly, we need to use doubles as speed now because of minecrafts new attribute system.
Removed unused imports.
Fixed most issues with trading feature.
Prevent "Reached End of Stream" getting spammed in the console.