Опять мапер эксепшенами сыпет
Exception in thread "AWT-EventQueue-2" java.awt.image.RasterFormatException: negative or zero width
at java.awt.image.Raster.<init>(Raster.java:1105)
at java.awt.image.WritableRaster.<init>(WritableRaster.java:111)
at sun.awt.image.SunWritableRaster.<init>(SunWritableRaster.java:48)
at sun.awt.image.IntegerComponentRaster.<init>(IntegerComponentRaster.java:151)
at sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:111)
at sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:468)
at java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1156)
at Main15_ru.offsetXMinimapPaint(Main15_ru.java:711)
at Main15_ru.offsetMinimapPaint(Main15_ru.java:675)
at Main15_ru.paint1(Main15_ru.java:612)
at Main15_ru.paint(Main15_ru.java:587)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)