Small change to globalCompile / serverCompile

Comment out getMoveWeapon, not used anywhere
Moved getPublicVar to serverCompile (is only used serverside)