File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
modules/API/src/main/java/com/comphenix/protocol/events Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 30
30
import com .comphenix .protocol .PacketType ;
31
31
import com .comphenix .protocol .ProtocolLibrary ;
32
32
import com .comphenix .protocol .async .AsyncMarker ;
33
+ import com .comphenix .protocol .error .PluginContext ;
33
34
import com .comphenix .protocol .error .Report ;
34
35
import com .comphenix .protocol .error .ReportType ;
35
36
import com .google .common .base .Objects ;
@@ -231,7 +232,7 @@ public void setPacket(PacketContainer packet) {
231
232
if (CHANGE_WARNINGS .put (oldType , newType )) {
232
233
ProtocolLibrary .getErrorReporter ().reportWarning (this ,
233
234
Report .newBuilder (REPORT_CHANGING_PACKET_TYPE_IS_CONFUSING ).
234
- messageParam (oldType , newType ).
235
+ messageParam (PluginContext . getPluginCaller ( new Exception ()), oldType , newType ).
235
236
build ());
236
237
}
237
238
}
You can’t perform that action at this time.
0 commit comments