Following Germany's defeat in World War I, the Weimar Republic passed very strict gun control laws in an attempt both to stabilize the country and to comply with the Versailles Treaty of 1919 – laws that in fact required the surrender of all guns to the government. These laws remained in effect until 1928, when the German parliament relaxed gun restrictions and put into effect a strict firearm-licensing scheme. These strict licensing regulations foreshadowed Hitler's rise to power.
If you read the 1938 Nazi gun laws closely and compare them to earlier 1928 Weimar gun legislation – as a straightforward exercise of statutory interpretation – several conclusions become clear. First, with regard to possession and carrying of firearms, the Nazi regime relaxed the gun laws that were in place in Germany at the time the Nazis seized power. Second, the Nazi gun laws of 1938 specifically banned Jewish persons from obtaining a license to manufacture firearms or ammunition. Third, approximately eight months after enacting the 1938 Nazi gun laws, Hitler imposed regulations prohibiting Jewish persons from possessing any dangerous weapons, including firearms.
https://scholarship.law.columbia.edu/faculty_scholarship/1327/