FallenMoonNetwork / CanaryMod

Server administration mod and API for Minecraft beta multiplayer server
http://canarymod.net
GNU Lesser General Public License v3.0
20 stars 14 forks source link

remove depritaction Minecart(world,x,y,z,type) #140

Closed spenk closed 11 years ago

spenk commented 11 years ago

public Minecart(World world, double x, double y, double z, Type type) { at class Minecart is not supposted to be depricated can you check it again ? thanks

14mRh4X0r commented 11 years ago

It is, see the deprecation note in the javadoc.

spenk commented 11 years ago

deprication note at javadoc is saying @Deprecated public Minecart(double x, double y,double z,Minecart.Type type) Deprecated. Use Minecart(World, double, double, double, Minecart.Type) instead.

eclipse is saying The constructor Minecart(World, double, double, double, Minecart.Type) is deprecated

WWOL commented 11 years ago

@deprecated The minecart system has had an overhaul. Use an appropriate subclass, or the constructor without type for an empty cart.

The docs at docs.canarymod.net need an update but you could have looked at Canary's code or commits.

WWOL