mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 18:26:42 +00:00
Set unique HWID
This commit is contained in:
parent
0c3a3f06f0
commit
3b12e2aeca
@ -2,8 +2,6 @@ package net.simon987.pluginradioactivecloud;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import javax.lang.model.type.UnionType;
|
|
||||||
|
|
||||||
import org.bson.Document;
|
import org.bson.Document;
|
||||||
import net.simon987.server.assembly.HardwareModule;
|
import net.simon987.server.assembly.HardwareModule;
|
||||||
import net.simon987.server.assembly.Status;
|
import net.simon987.server.assembly.Status;
|
||||||
@ -13,14 +11,15 @@ import net.simon987.server.game.objects.Radioactive;
|
|||||||
|
|
||||||
public class RadiationDetector extends HardwareModule {
|
public class RadiationDetector extends HardwareModule {
|
||||||
|
|
||||||
// NEEDS TO BE CHANGED
|
/**
|
||||||
// Need to change to whatever the last unique address is
|
* Should be unique and same as HWID
|
||||||
public static final int DEFAULT_ADDRESS = 0x010F;
|
*/
|
||||||
|
public static final int DEFAULT_ADDRESS = 0x000E;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hardware ID (Should be unique) -- NEEDS TO BE CHANGED
|
* Hardware ID (Should be unique)
|
||||||
*/
|
*/
|
||||||
public static final char HWID = 0x010F;
|
public static final char HWID = 0x000E;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Radiation Constants
|
* Radiation Constants
|
||||||
|
Loading…
x
Reference in New Issue
Block a user