Carbon Copy plugin for VS
修訂 | 672835ebcc6c645496ae13b80a9191e529dcaf0a (tree) |
---|---|
時間 | 2020-03-17 07:45:21 |
作者 | melchior <melchior@user...> |
Commiter | melchior |
filter out NON 'game' domain blocks
@@ -246,7 +246,7 @@ namespace VCMiscMods | ||
246 | 246 | reporter.WriteLine("MC Block Name\tVS Block Name\tVS ID#\tMaterial\t"); |
247 | 247 | |
248 | 248 | foreach (var block in ClientAPI.World.Blocks) { |
249 | - if (block.Id != 0 && !block.IsMissing) { | |
249 | + if (block.Id != 0 && !block.IsMissing && block.Code.Domain == GlobalConstants.DefaultDomain) { | |
250 | 250 | reporter.WriteLine($"<FILL>\t{block.Code.Path}\t{block.BlockId}\t{block.BlockMaterial}"); |
251 | 251 | |
252 | 252 | } |
@@ -3,7 +3,7 @@ | ||
3 | 3 | "name": "Carbon-Copy", |
4 | 4 | "description" : "Export schematics from MP (clientside!)", |
5 | 5 | "authors": ["Melchior"], |
6 | - "version": "0.1.2", | |
6 | + "version": "0.1.3", | |
7 | 7 | "side": "client", |
8 | 8 | "dependencies": { |
9 | 9 | "game": "1.11.0" |