forked from GeyserMC/Geyser
		
	Fix items on campfires (#1779)
This commit is contained in:
		
							parent
							
								
									eccb48844e
								
							
						
					
					
						commit
						396d1b6b61
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -47,7 +47,7 @@ public class CampfireBlockEntityTranslator extends BlockEntityTranslator {
 | 
			
		|||
    protected NbtMap getItem(CompoundTag tag) {
 | 
			
		||||
        ItemEntry entry = ItemRegistry.getItemEntry((String) tag.get("id").getValue());
 | 
			
		||||
        NbtMapBuilder tagBuilder = NbtMap.builder()
 | 
			
		||||
                .putShort("id", (short) entry.getBedrockId())
 | 
			
		||||
                .putString("Name", entry.getBedrockIdentifier())
 | 
			
		||||
                .putByte("Count", (byte) tag.get("Count").getValue())
 | 
			
		||||
                .putShort("Damage", (short) entry.getBedrockData());
 | 
			
		||||
        tagBuilder.put("tag", NbtMap.builder().build());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue