mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
blueprint wip
This commit is contained in:
@@ -46,6 +46,9 @@ public class GameRegistry {
|
||||
if (hardware.containsKey(type)) {
|
||||
|
||||
try {
|
||||
System.out.println(type);
|
||||
System.out.println(hardware.get(type));
|
||||
|
||||
return hardware.get(type).getConstructor(Document.class, ControllableUnit.class).newInstance(document, controllableUnit);
|
||||
} catch (InstantiationException | IllegalAccessException |
|
||||
InvocationTargetException | NoSuchMethodException e) {
|
||||
|
||||
@@ -12,7 +12,7 @@ server_name=MAR dev
|
||||
# ALLOW | BLOCK
|
||||
guest_policy=ALLOW
|
||||
# DEBUG
|
||||
#autologin=simon
|
||||
autologin=simon
|
||||
|
||||
#Database
|
||||
mongo_dbname=mar_beta
|
||||
|
||||
Reference in New Issue
Block a user