mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Custom sound for pearl so you know its working
This commit is contained in:
parent
6f08c1f758
commit
89b4fdef56
@ -25,6 +25,7 @@ import com.volmit.iris.util.math.Position2;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Chunk;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.EnderSignal;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.event.EventHandler;
|
||||
@ -80,7 +81,7 @@ public abstract class EngineAssignedWorldManager extends EngineAssignedComponent
|
||||
|
||||
if(pr != null)
|
||||
{
|
||||
Iris.info("Taking you to " + pr.getX() + " " + pr.getZ());
|
||||
e.getEntity().getWorld().playSound(e.getEntity().getLocation(), Sound.BLOCK_END_PORTAL_FRAME_FILL, 1f, 0.2f);
|
||||
((EnderSignal) e.getEntity()).setTargetLocation(new Location(e.getEntity().getWorld(), pr.getX(), 40, pr.getZ()));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user