3.0.1 - Protocol Lib Error

This commit is contained in:
SuperRonanCraft 2020-11-23 23:28:49 -05:00
parent d8bd216294
commit 67c93efe91

View File

@ -53,7 +53,7 @@ public class RTPSounds {
packet.setEffectPositionY(loc.getBlockY());
packet.setEffectPositionZ(loc.getBlockZ());
packet.sendPacket(p);
} catch (Exception e) {
} catch (NoClassDefFoundError | Exception e) {
p.playSound(p.getLocation(), getSound(sound), 1F, 1F);
}
}