Prepare to use Material.hasGravity (...).

This commit is contained in:
asofold 2013-06-24 12:31:37 +02:00
parent a4556667fd
commit 9bf09ff52d

View File

@ -160,13 +160,8 @@ public class MCAccessCBDev implements MCAccess{
@Override
public boolean hasGravity(final Material mat) {
switch(mat){
case SAND:
case GRAVEL:
return true;
default:
return false;
}
// TODO: Test/check.
return mat.hasGravity();
}
}