diff --git a/src/main/java/core/packetproxy/gui/GUIOptionServers.java b/src/main/java/core/packetproxy/gui/GUIOptionServers.java index bb45f2b..46d5391 100644 --- a/src/main/java/core/packetproxy/gui/GUIOptionServers.java +++ b/src/main/java/core/packetproxy/gui/GUIOptionServers.java @@ -145,7 +145,8 @@ protected void clearTableContents() { @Override protected Server getSelectedTableContent() { - return getTableContent(table.getSelectedRow()); + int index = table.getSelectedRow(); + return getTableContent(table.getRowSorter().convertRowIndexToModel(index)); } @Override