[BUGFIX] Fixed a bug in RandomType

The id’s for the types were all the same
This commit is contained in:
Emma Stone
2017-02-03 15:56:57 +00:00
parent c4b0dc4fc5
commit 7d591f015e
@@ -6,9 +6,9 @@ package org.parabot.environment.randoms;
public enum RandomType {
SCRIPT(0, "Script"),
ON_SCRIPT_START(0, "On script start"),
ON_SERVER_START(0, "On server start"),
ON_SCRIPT_FINISH(0, "On script finish");
ON_SCRIPT_START(1, "On script start"),
ON_SERVER_START(2, "On server start"),
ON_SCRIPT_FINISH(3, "On script finish");
private int id;
private String name;