Set object triggering state for this tripwire @param trig - true if object activating tripwire, false if not
(boolean trig)
| 62 | * @param trig - true if object activating tripwire, false if not |
| 63 | */ |
| 64 | public void setObjectTriggering(boolean trig) { |
| 65 | int dat = getData() & 0xE; |
| 66 | if (trig) { |
| 67 | dat |= 0x1; |
| 68 | } |
| 69 | setData((byte) dat); |
| 70 | } |
| 71 | |
| 72 | @Override |
| 73 | public Tripwire clone() { |
nothing calls this directly
no test coverage detected