Replace deprecated slipperiness field access with getter

This commit is contained in:
Electroblob
2018-02-16 15:45:18 +00:00
parent aabcf43c1d
commit b08651c11e
@@ -28,7 +28,7 @@ public class BlockStatue extends BlockContainer {
super(material);
this.isIce = material == Material.ICE;
if(this.isIce){
this.slipperiness = 0.98F;
this.setDefaultSlipperiness(0.98f);
this.setSoundType(SoundType.GLASS);
}
}