mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Added Walshys suggested change
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
This commit is contained in:
parent
c98fe74ea9
commit
33f6f039ec
@ -49,7 +49,7 @@ public class RuneOfUnemployment extends SimpleSlimefunItem<EntityInteractHandler
|
|||||||
v.setVillagerExperience(0);
|
v.setVillagerExperience(0);
|
||||||
v.setProfession(Profession.NONE);
|
v.setProfession(Profession.NONE);
|
||||||
|
|
||||||
double offset = ThreadLocalRandom.current().nextDouble(0, 0.5);
|
double offset = ThreadLocalRandom.current().nextDouble(0.5);
|
||||||
|
|
||||||
v.getWorld().spawnParticle(Particle.CRIMSON_SPORE, v.getLocation(), 10, 0, offset / 2, 0,0.0d);
|
v.getWorld().spawnParticle(Particle.CRIMSON_SPORE, v.getLocation(), 10, 0, offset / 2, 0,0.0d);
|
||||||
v.getWorld().spawnParticle(Particle.ENCHANTMENT_TABLE, v.getLocation(), 5, 0.04d, 1d, 0.04d);
|
v.getWorld().spawnParticle(Particle.ENCHANTMENT_TABLE, v.getLocation(), 5, 0.04d, 1d, 0.04d);
|
||||||
|
Loading…
Reference in New Issue
Block a user