Set min radius of area cloud to 0.1
This commit is contained in:
parent
6e4ceb37a9
commit
b769569d5a
@ -30,8 +30,11 @@ public class AreaEffectCloudWatcher extends FlagWatcher {
|
||||
}
|
||||
|
||||
public void setRadius(float radius) {
|
||||
if (radius > 30)
|
||||
if (radius > 30) {
|
||||
radius = 30;
|
||||
} else if (radius < 0.1) {
|
||||
radius = 0.1f;
|
||||
}
|
||||
|
||||
setData(MetaIndex.AREA_EFFECT_RADIUS, radius);
|
||||
sendData(MetaIndex.AREA_EFFECT_RADIUS);
|
||||
|
Loading…
Reference in New Issue
Block a user