Changeset cbd3ad479bfca53234f7e71385d810e4d505c039

Show
Ignore:
Timestamp:
04/29/07 12:49:40 (2 years ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1177843780 +0200
git-parent:

[beedc3b1ecc23b9425b1581b99bd5eb42993ac6e]

git-author:
Christopher Jung <bktheg@web.de> 1177843780 +0200
Message:

Attribut version hinzugefuegt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/net/driftingsouls/ds2/server/config/Items.java

    r92860eb rcbd3ad4  
    9393                                int id = (int)XMLUtils.getLongAttribute(node, "id"); 
    9494                                 
     95                                String version = XMLUtils.getStringAttribute(node, "version"); 
     96                                if( (version != null) && !version.equalsIgnoreCase(Configuration.getSetting("VERSION_TYPE")) ) { 
     97                                        continue; 
     98                                } 
     99                                 
    95100                                String name = XMLUtils.getStringByXPath(node, "name/text()"); 
    96101                                String picture = XMLUtils.getStringByXPath(node, "picture/text()"); 
  • src/net/driftingsouls/ds2/server/config/Weapons.java

    rea008dc rcbd3ad4  
    120120                                 
    121121                                String id = XMLUtils.getStringAttribute(node, "id"); 
     122                                 
     123                                String version = XMLUtils.getStringAttribute(node, "version"); 
     124                                if( (version != null) && !version.equalsIgnoreCase(Configuration.getSetting("VERSION_TYPE")) ) { 
     125                                        continue; 
     126                                } 
     127                                 
    122128                                String cls = XMLUtils.getStringAttribute(node, "handler"); 
    123129