Jump to content

Yogo Wafel

Members
  • Posts

    1
  • Joined

  • Last visited

Yogo Wafel's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi there! I have a problem with Forge mod. While testing it in IntelliJ everything works fine, but after copying the jar into 'mods' folder and running the 'REAL' minecraft, it says "An error occured while attempting to perform this command". Mod main aim is to perform action on command: public class PinfoCommand extends ForgeCommand { public static String NAME = "pinfo"; @Override public String getName() { return NAME; } @Override public String getUsage(ICommandSender icommandsender) { return "Usage: /pinfo [pokemon]"; } @Override public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException { //... } } The code inside execute method uses a gradle dependency (jsoup), which I properly added to build.gradle file as below. Maybe that's the problem? compile 'org.jsoup:jsoup:1.12.1'
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.