mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-10-31 20:09:18 +00:00
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 a new issue