mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +00:00
Add imports to command.rb.
This commit is contained in:
@@ -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.
|
# 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)
|
def valid_arg_length(args, length, player, message)
|
||||||
|
|||||||
Reference in New Issue
Block a user