FAQs

  • Why do the cardinal directions in Mortar fit to the ones shown in the Minecraft-Client when pressing F3, but not to the ones I learned (e.g. Clouds go North)
    I found a good article on this, please read this.
  • Why can't I shoot into the air?
    Do you know what a mortar is? If you don't, please take a look at this picture.
    Mortars do not shoot directly at a target, but shoot using a parabolic ballistic trajectory and therefore need a point at the ground to aim at.
  • Why is the distance for mortarts limited to 120 blocks?
    This is because the current implementation of getLineOfSight() in Bukkit only allows you to get a player's line of sight within 120 blocks around him (See http://forums.bukkit.org/threads/save-gettargetblock-to-private-var.115429/here). Sorry, but I cannot change this at the moment, but I'll try and create a workaround as soon as possible.
  • If you encounter this error you do don't have an economy-plugin installed.
    Vault only tells an installed economy-plugin what to do but it does not contain the functionality of one.

    2011-12-17 16:47:10 [SEVERE] Could not pass event PLAYER_INTERACT to Mortar
    java.lang.NullPointerException
        at phiwa.mortar.mortar.payForShotEconomy(mortar.java:183)
        at phiwa.mortar.mortar.payForShot(mortar.java:150)
        at phiwa.mortar.listeners.players.onPlayerInteract(players.java:46)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:142)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:560)
        at net.minecraft.server.Packet15Place.a(SourceFile:39)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)