mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-17 17:15:47 +00:00
Disable particle feature if mc version isn't supported
This commit is contained in:
parent
91720236b1
commit
64644bea3b
@ -60,9 +60,8 @@ public class RTPParticles {
|
||||
"Try using '/rtp info particles' to get a list of available particles");
|
||||
} catch (ExceptionInInitializerError e2) {
|
||||
effects.clear();
|
||||
effects.add(ParticleEffect.ASH);
|
||||
getPl().getLogger().severe("The particle '" + typeTrying + "' created a fatal error when loading particles!");
|
||||
getPl().getLogger().severe("Please report this Ronan asap!");
|
||||
getPl().getLogger().severe("The particle '" + typeTrying + "' created a fatal error when loading particles! Your MC version isn't supported!");
|
||||
enabled = false;
|
||||
}
|
||||
shape = config.getString("Particles.Shape").toUpperCase();
|
||||
if (!Arrays.asList(shapeTypes).contains(shape)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user