mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-23 22:59:41 +00:00
Changed entity check for bards
This commit is contained in:
1 parent
2637d9de26
commit
2d9063cf24
2 files changed
+10
-2
No files matched your search
@@ -95,7 +95,7 @@ public class JobBard extends JobInterface{
|
||||
if(!MusicController.Instance.isPlaying()){
|
||||
this.play();
|
||||
}
|
||||
else if(MusicController.Instance.sound.getEntity() != npc){
|
||||
else if(MusicController.Instance.getEntity() != npc){
|
||||
EntityPlayer player = CustomNpcs.proxy.getPlayer();
|
||||
if(npc.getDistanceToEntity(player) < MusicController.Instance.sound.getDistance()){
|
||||
MusicController.Instance.stopMusic();
|
||||
|
||||
Reference in new issue
Block a user