mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 08:44:02 +00:00
Make Magic Missiles die off after 2 seconds. Fixes #534.
This commit is contained in:
1 parent
aa549dda28
commit
885efe6a9f
1 file changed
+1
-1
@@ -62,7 +62,7 @@ public class EntityMagicMissile extends EntityThrowable {
|
||||
public void onUpdate() {
|
||||
super.onUpdate();
|
||||
|
||||
if(!worldObj.isRemote && !getTarget()) {
|
||||
if(!worldObj.isRemote && (!getTarget() || ticksExisted > 40)) {
|
||||
setDead();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user