wiremod / advduplicator

Garry's Mod add-on that allows a player to save and load contraptions
http://www.wiremod.com
Apache License 2.0
67 stars 43 forks source link

Support for default duplicator blacklist #64

Closed Bubbus closed 9 years ago

Bubbus commented 9 years ago

Garry's default duplicator supports entity blacklisting via duplicator.IsAllowed(classname) and Entity.DoNotDuplicate - I'd love Adv. Duplicator to adhere to these as it'd be useful to blacklist specific entities in an installation-independent manner. Can take a look at this if you're open to pull requests.

Related discussion: http://facepunch.com/showthread.php?t=1442021

Divran commented 9 years ago

Related issue: https://github.com/wiremod/advdupe2/issues/31

Looks like adv dupe 2 already does this https://github.com/wiremod/advdupe2/search?utf8=%E2%9C%93&q=IsAllowed but adv dupe 1 does not: https://github.com/wiremod/advduplicator/search?utf8=%E2%9C%93&q=IsAllowed

neither adv dupe 1 nor 2 uses DoNotDuplicate, though.

Grocel commented 9 years ago

As it is fixed now, it can be closed. :)