From fd9009aecb4f1604921bff7e8b60e3d384a01fdd Mon Sep 17 00:00:00 2001 From: Major- Date: Fri, 27 Feb 2015 19:03:03 +0000 Subject: [PATCH] Add imports to command.rb. --- data/plugins/util/command.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/plugins/util/command.rb b/data/plugins/util/command.rb index 7607c062..0e86d618 100644 --- a/data/plugins/util/command.rb +++ b/data/plugins/util/command.rb @@ -1,3 +1,9 @@ +require 'java' + +java_import 'org.apollo.game.model.def.ItemDefinition' +java_import 'org.apollo.game.model.def.NpcDefinition' +java_import 'org.apollo.game.model.def.ObjectDefinition' + # Checks whether the amount of arguments provided is correct, sending the player the specified message if not. def valid_arg_length(args, length, player, message)