This commit is contained in:
1 parent
a1249251a6
commit
378653e57e
1 file changed
+1
-1
@@ -198,7 +198,7 @@ public class BasePlate extends DeviceBase {
|
||||
try {
|
||||
Puck p = getPuckByName(name.substring(0, 2));
|
||||
if (p != null) {
|
||||
return p.getSamples()[Integer.valueOf(name.substring(2, 3)) - 1];
|
||||
return p.getSamples()[Integer.valueOf(name.substring(2, name.length())) - 1];
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user