This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Dico200 1750c82208 Changed all CommandExecutor arguments
Added arguments command and label to all command executor functions,
hopefully for massive performance increase.

This is due to the following mess in PythonLoader:
``` Java
@Override
public boolean onCommand(CommandSender sender, Command command, String
label, String[] args) {
boolean result;
if (argcount == -1) {
try {
result = call(4, sender, command, label, args);
argcount = 4;
} catch (PyException e) {
//this could goof up someone ... they'll probably yell at us and
eventually read this code ... fuck them
if (e.type == Py.TypeError && (e.value.toString().endsWith("takes
exactly 3 arguments (4 given)") || e.value.toString().endsWith("takes
exactly 4 arguments (5 given)"))) {
result = call(3, sender, command, label, args);
argcount = 3;
} else if (e.type == Py.TypeError && (e.value.toString().endsWith("takes
exactly 2 arguments (4 given)") || e.value.toString().endsWith("takes
exactly 3 arguments (5 given)"))) {
result = call(2, sender, command, label, args);
argcount = 2;
} else {
throw e;
}
}
} else {
result = call(argcount, sender, command, label, args);
}
return result;
}
```

Note: Still WIP on reports - I'm working on making it keep solved
reports to fix issue 10
2015-03-19 23:51:33 +01:00
2014-12-20 17:45:43 +01:00
2015-03-19 23:51:33 +01:00
2015-03-19 23:51:33 +01:00
2015-03-19 23:51:33 +01:00
2014-12-18 01:16:25 +01:00
2015-03-19 23:51:33 +01:00
2015-03-18 21:09:49 +01:00
2015-03-19 23:51:33 +01:00
2014-12-26 18:28:59 +01:00
2015-03-17 00:56:50 +01:00
2015-03-19 23:51:33 +01:00
2015-03-19 23:51:33 +01:00
2014-06-10 04:23:13 +02:00
2014-12-18 01:16:25 +01:00
2014-12-20 18:53:52 +01:00

RedstonerUtils

Redstoner's custom plugins, written in python.


Contributing

If you want to contribute, please read through the pages on the wiki.

S
Description
Redstoner's plugins, written in Python.
https://github.com/RedstonerServer/redstoner-utils
Readme
972 KiB
Languages
Python 97.5%
Shell 2.5%