mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
Properly fix error with fireball command (#3040)
Closes #3016. * Update Commandfireball.java * Update Commandfireball.java Co-authored-by: md678685 <1917406+md678685@users.noreply.github.com>
This commit is contained in:
parent
46e1b95b33
commit
20e11465e4
@ -28,12 +28,12 @@ public class Commandfireball extends EssentialsCommand {
|
|||||||
.put("skull", WitherSkull.class)
|
.put("skull", WitherSkull.class)
|
||||||
.put("egg", Egg.class)
|
.put("egg", Egg.class)
|
||||||
.put("snowball", Snowball.class)
|
.put("snowball", Snowball.class)
|
||||||
.put("expbottle", ThrownExpBottle.class)
|
.put("expbottle", ThrownExpBottle.class);
|
||||||
.put("splashpotion", SplashPotion.class)
|
|
||||||
.put("lingeringpotion", LingeringPotion.class);
|
|
||||||
|
|
||||||
if (VersionUtil.getServerBukkitVersion().isHigherThanOrEqualTo(VersionUtil.v1_9_R01)) {
|
if (VersionUtil.getServerBukkitVersion().isHigherThanOrEqualTo(VersionUtil.v1_9_R01)) {
|
||||||
builder.put("dragon", DragonFireball.class);
|
builder.put("dragon", DragonFireball.class)
|
||||||
|
.put("splashpotion", SplashPotion.class)
|
||||||
|
.put("lingeringpotion", LingeringPotion.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (VersionUtil.getServerBukkitVersion().isHigherThanOrEqualTo(VersionUtil.v1_13_0_R01)) {
|
if (VersionUtil.getServerBukkitVersion().isHigherThanOrEqualTo(VersionUtil.v1_13_0_R01)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user