コード例 #1
0
ファイル: NetServerHandler.cs プロジェクト: riverar/Crafty
 public override void handleBlockItemSwitch(Packet16BlockItemSwitch packet16blockitemswitch)
 {
     playerEntity.inventory.currentItem = packet16blockitemswitch.id;
 }
コード例 #2
0
ファイル: NetServerHandler.cs プロジェクト: geckosoft/Crafty
 public override void handleBlockItemSwitch(Packet16BlockItemSwitch packet16blockitemswitch)
 {
     playerEntity.inventory.currentItem = packet16blockitemswitch.id;
 }